1
0
mirror of https://github.com/upx/upx synced 2025-10-05 19:20:23 +08:00

win32/pe should only handle ix86 files

This commit is contained in:
László Molnár 2006-12-03 10:46:14 +01:00
parent 1d0d538d0c
commit 9220b6f1d5

View File

@ -530,7 +530,7 @@ void PackW32Pe::processLoadConf(Reloc *rel, const Interval *iv,
bool PackW32Pe::canPack()
{
if (!readFileHeader())
if (!readFileHeader() || ih.cpu < 0x14c || ih.cpu > 0x150)
return false;
return true;
}