mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
vmlinuz/386: fixed zlib uncompression problem on dos
This commit is contained in:
parent
1554e2b135
commit
8e4056c1e4
3
NEWS
3
NEWS
|
@ -2,6 +2,9 @@
|
||||||
User visible changes for UPX
|
User visible changes for UPX
|
||||||
==================================================================
|
==================================================================
|
||||||
|
|
||||||
|
Changes in 2.90 (xx Aug 2006):
|
||||||
|
* vmlinuz/386: fixed zlib uncompression problem on dos
|
||||||
|
|
||||||
Changes in 2.01 (06 Jun 2006):
|
Changes in 2.01 (06 Jun 2006):
|
||||||
* arm/pe: better DLL support
|
* arm/pe: better DLL support
|
||||||
* dos/exe: device driver support added
|
* dos/exe: device driver support added
|
||||||
|
|
|
@ -165,7 +165,7 @@ int PackVmlinuzI386::decompressKernel()
|
||||||
fd = dup(fi->getFd());
|
fd = dup(fi->getFd());
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
break;
|
break;
|
||||||
gzFile zf = gzdopen(fd, "r");
|
gzFile zf = gzdopen(fd, "rb");
|
||||||
if (zf == NULL)
|
if (zf == NULL)
|
||||||
break;
|
break;
|
||||||
// estimate gzip-decompressed kernel size & alloc buffer
|
// estimate gzip-decompressed kernel size & alloc buffer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user