WIP: Elf64 shlib compress+decompress seems to work

modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
	modified:   p_unix.cpp
This commit is contained in:
John Reiser
2021-07-05 13:47:19 -07:00
committed by Markus F.X.J. Oberhumer
parent 85f0c5a445
commit 076aaf829a
3 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ void PackUnix::packExtent(
ph.c_len = ph.u_len;
memcpy(obuf, ibuf, ph.c_len);
// must update checksum of compressed data
ph.c_adler = upx_adler32(ibuf, ph.u_len, ph.saved_c_adler);
ph.c_adler = upx_adler32(ibuf, ph.u_len, ph.c_adler);
}
// write block sizes