1
0
mirror of https://github.com/upx/upx.git synced 2025-08-11 22:52:30 +08:00

PE: Remove duplicate oxrelocs write

This commit is contained in:
Kornel Pal
2021-12-22 05:07:54 +01:00
committed by Markus F.X.J. Oberhumer
parent bb90c4dff4
commit 990d0ec543

View File

@ -2710,7 +2710,6 @@ void PeFile::pack0(OutputFile *fo, ht &ih, ht &oh,
fo->write(oxrelocs,soxrelocs);
fo->write(oimpdlls,soimpdlls);
fo->write(oexport,soexport);
fo->write(oxrelocs,soxrelocs);
if (!last_section_rsrc_only)
fo->write(oxrelocs,soxrelocs);