Added Packer::checkAlreadyPacked().
committer: mfx <mfx> 977427988 +0000
This commit is contained in:
+1
-2
@@ -264,8 +264,7 @@ void PackExe::pack(OutputFile *fo)
|
||||
fi->seek(ih.headsize16*16,SEEK_SET);
|
||||
fi->readx(ibuf,imagesize);
|
||||
|
||||
if (find_le32(ibuf, UPX_MIN(imagesize, 127u), UPX_MAGIC_LE32) >= 0)
|
||||
throwAlreadyPacked();
|
||||
checkAlreadyPacked(ibuf, UPX_MIN(imagesize, 127u));
|
||||
|
||||
// relocations
|
||||
has_9a = false;
|
||||
|
||||
Reference in New Issue
Block a user