diff options
Diffstat (limited to 'src/PEImage.cpp')
-rw-r--r-- | src/PEImage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PEImage.cpp b/src/PEImage.cpp index 8603400..9a61c3a 100644 --- a/src/PEImage.cpp +++ b/src/PEImage.cpp @@ -330,8 +330,7 @@ bool PEImage::initDbgPtr(bool initDbgDir) nsec = dbg->NumberOfSections;
symtable = (char*)(sec + nsec);
- nsym = dbg->ExportedNamesSize;
- strtable = symtable + nsym;
+ strtable = symtable + dbg->ExportedNamesSize;
if(dbg->DebugDirectorySize <= IMAGE_DIRECTORY_ENTRY_DEBUG)
return setError("too few entries in data directory");
|