Fix headway during optimizeReloc()

Later: "Assertion `(soxrelocs == 0) == !has_oxrelocs' failed."
https://github.com/upx/upx/issues/552
	modified:   packer.cpp
	modified:   packer.h
	modified:   pefile.cpp
This commit is contained in:
John Reiser
2021-12-31 10:27:58 -08:00
committed by Markus F.X.J. Oberhumer
parent ea567a8b14
commit 2e64a277f8
3 changed files with 15 additions and 7 deletions
+1
View File
@@ -311,6 +311,7 @@ protected:
// compression buffers
MemBuffer ibuf; // input
MemBuffer obuf; // output
unsigned ibufgood; // high-water mark in ibuf (pefile.cpp)
// UI handler
UiPacker *uip = nullptr;