Wrong boundary
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2549 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8471501cfb
commit
051fd2a73c
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ int generate_unicons_offsets(unsigned char* exeHeader, unsigned char* uninstIcon
|
|||
|
||||
DWORD dwNextSection;
|
||||
if (i == ntHeaders->FileHeader.NumberOfSections - 1)
|
||||
dwNextSection = exeheader_size;
|
||||
dwNextSection = ntHeaders->OptionalHeader.SizeOfImage;
|
||||
else
|
||||
dwNextSection = sectionHeadersArray[i+1].PointerToRawData;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue