Fix unoptimizeReloc() to process all relocs
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
fe949bdf67
commit
c5cc83d424
+1
-1
@@ -892,7 +892,7 @@ unsigned Packer::unoptimizeReloc(upx_byte **in, upx_byte *image, MemBuffer *out,
|
|||||||
jc += dif;
|
jc += dif;
|
||||||
}
|
}
|
||||||
*relocs++ = jc; // FIXME: range check jc
|
*relocs++ = jc; // FIXME: range check jc
|
||||||
if (!--relocn) {
|
if (!relocn--) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (bswap && image) {
|
if (bswap && image) {
|
||||||
|
|||||||
Reference in New Issue
Block a user