diff options
author | sagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8> | 2014-02-25 23:00:44 (GMT) |
---|---|---|
committer | sagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8> | 2014-02-25 23:00:44 (GMT) |
commit | cd3bafbc9a4d0fe3b5f7d9338d18c27d25bcf43c (patch) | |
tree | 34f59bbd6d826f157289aa938b952ce6ce7cd459 | |
parent | 5e35f20a3fe21c9ea6a79738819ead8328855b9b (diff) | |
download | cv2pdb-cd3bafbc9a4d0fe3b5f7d9338d18c27d25bcf43c.zip cv2pdb-cd3bafbc9a4d0fe3b5f7d9338d18c27d25bcf43c.tar.gz cv2pdb-cd3bafbc9a4d0fe3b5f7d9338d18c27d25bcf43c.tar.bz2 |
Version 0.30: fixed crash when converting DWARF for executables without .reloc segment
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | src/PEImage.cpp | 2 |
4 files changed, 10 insertions, 3 deletions
@@ -192,3 +192,7 @@ unreleased Version 0.22 2014-19-02 Version 0.29
* fix DWARF conversion for newer gcc versions (4.8.0 or even earlier)
+
+2014-25-02 Version 0.30
+
+ * fixed crash when converting DWARF for executables without .reloc segment
@@ -58,13 +58,14 @@ $(DOWNLOADS): if not exist $(DOWNLOADS)\nul mkdir $(DOWNLOADS)
###############################
+ZIP = zip
SRC_ZIP = $(DOWNLOADS)\cv2pdb_src_$(VERSION).zip
src: $(DOWNLOADS) $(SRC_ZIP)
$(SRC_ZIP): $(SRC) $(ADD) $(DOC) $(TEST)
if exist $(SRC_ZIP) del $(SRC_ZIP)
- zip $(SRC_ZIP) -X $(SRC) $(ADD) $(DOC) $(TEST)
+ $(ZIP) $(SRC_ZIP) -X $(SRC) $(ADD) $(DOC) $(TEST)
###############################
BIN_ZIP = $(DOWNLOADS)\cv2pdb_$(VERSION).zip
@@ -73,7 +74,7 @@ bin: $(DOWNLOADS) $(BIN_ZIP) $(BIN_ZIP): $(BIN) $(DOC) Makefile
if exist $(BIN_ZIP) del $(BIN_ZIP)
- zip $(BIN_ZIP) -j -X $(BIN) $(DOC)
+ $(ZIP) $(BIN_ZIP) -j -X $(BIN) $(DOC)
IDEDIR = $(VSINSTALLDIR)\Common7\IDE
@@ -1 +1 @@ -VERSION = 0.29
+VERSION = 0.30
diff --git a/src/PEImage.cpp b/src/PEImage.cpp index 5f3a79b..0f7608c 100644 --- a/src/PEImage.cpp +++ b/src/PEImage.cpp @@ -45,6 +45,8 @@ PEImage::PEImage(const TCHAR* iname) , debug_loc(0)
, debug_ranges(0)
, codeSegment(0)
+, reloc(0)
+, reloc_length(0)
{
if(iname)
load(iname);
|