mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-20 13:50:48 +00:00
add busybox gunzip/ipkg fix from #2691 (thanks, biblbroks)
SVN-Revision: 9546
This commit is contained in:
parent
071a907015
commit
391f696e4b
11
package/busybox/patches/530-gunzip_src_fd.patch
Normal file
11
package/busybox/patches/530-gunzip_src_fd.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Naur a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
|
||||
--- a/archival/libunarchive/decompress_unzip.c 2007-11-10 02:40:48.000000000 +0100
|
||||
+++ b/archival/libunarchive/decompress_unzip.c 2007-11-12 02:34:43.000000000 +0100
|
||||
@@ -1178,6 +1178,7 @@
|
||||
ALLOC_STATE;
|
||||
bytebuffer_max = 0x8000;
|
||||
bytebuffer = xmalloc(bytebuffer_max);
|
||||
+ gunzip_src_fd = in;
|
||||
|
||||
again:
|
||||
if (!check_header_gzip(PASS_STATE_ONLY)) {
|
Loading…
Reference in New Issue
Block a user