fixed bug #2572035 - problem with 2.43 and icons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5935 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b016a4402c
commit
3bb9ec28f8
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ int generate_unicons_offsets(LPBYTE exeHeader, size_t exeHeaderSize, LPBYTE unin
|
|||
size = FIX_ENDIAN_INT32(*(LPDWORD)seeker);
|
||||
seeker += sizeof(DWORD);
|
||||
|
||||
if (real_size != size)
|
||||
if (real_size < size) // uninst icon could be smaller, in case we don't have perfect matches
|
||||
{
|
||||
throw runtime_error("invalid icon size (possibly compressed icon)");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue