checkPatch() resets
p_lx_elf.cpp p_lx_exc.cpp p_unix.cpp committer: jreiser <jreiser> 1034906580 +0000
This commit is contained in:
+2
-2
@@ -89,9 +89,9 @@ void PackUnix::writePackHeader(OutputFile *fo)
|
||||
set_le32(buf+0, UPX_MAGIC_LE32);
|
||||
set_le32(buf+4, UPX_MAGIC2_LE32);
|
||||
|
||||
checkPatch(NULL, 0, 0, 0);
|
||||
checkPatch(NULL, 0, 0, 0); // reset
|
||||
patchPackHeader(buf, hsize);
|
||||
checkPatch(NULL, 0, 0, 0);
|
||||
checkPatch(NULL, 0, 0, 0); // reset
|
||||
|
||||
fo->write(buf, hsize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user