Allow executables >=3MB on elf64amd; -r1.69 on 2005-11-12 forgot to remove check.
committer: jreiser <jreiser> 1145139994 +0000
This commit is contained in:
parent
6d5e1d529d
commit
fb1181ed26
@ -508,14 +508,6 @@ PackLinuxElf64amd::canPack()
|
||||
// throwCantPack("invalid Phdr p_offset; try `--force-execve'");
|
||||
// return false;
|
||||
//}
|
||||
|
||||
// detect possible conflict upon invocation
|
||||
acc_uint64l_t const p_vaddr = get_native64(&phdr->p_vaddr);
|
||||
if (p_vaddr < (unsigned)(0x100000 + file_size)
|
||||
|| p_vaddr < (unsigned)(0x100000 + file_size) ) {
|
||||
throwAlreadyPackedByUPX(); // not necessarily, but mostly true
|
||||
return false;
|
||||
}
|
||||
exetype = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user