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:
parent
bf52b5eb06
commit
ecce4d6578
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user