1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Reset patch order in writePackHeader().

committer: mfx <mfx> 979756690 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2001-01-17 18:38:10 +00:00
parent bf52b5eb06
commit ecce4d6578

View File

@ -87,7 +87,10 @@ void PackUnix::writePackHeader(OutputFile *fo)
set_le32(buf+0, UPX_MAGIC_LE32);
set_le32(buf+4, UPX_MAGIC2_LE32);
checkPatch(NULL, 0, 0, 0);
patchPackHeader(buf, hsize);
checkPatch(NULL, 0, 0, 0);
fo->write(buf, hsize);
}