Check when optimizeRelocs()
https://github.com/upx/upx/issues/513 modified: packer.h modified: packer.cpp modified: pefile.cpp modified: p_wcle.cpp modified: p_tmt.cpp
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
be23f93ee6
commit
ea567a8b14
+1
-1
@@ -399,7 +399,7 @@ void PackWcle::preprocessFixups()
|
||||
delete[] ifixups;
|
||||
ifixups = new upx_byte[1000];
|
||||
}
|
||||
fix = optimizeReloc32 (rl,rc,ifixups,iimage,1,&big_relocs);
|
||||
fix = optimizeReloc32 (rl,rc,ifixups,iimage,file_size,1,&big_relocs);
|
||||
has_extra_code = srf != selector_fixups;
|
||||
// FIXME: this could be removed if has_extra_code = false
|
||||
// but then we'll need a flag
|
||||
|
||||
Reference in New Issue
Block a user