diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-12 01:44:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-12 01:44:49 +0000 |
commit | 4bfb84db4e941e227f07346a3b3a56afd7d1e3fe (patch) | |
tree | 5a62706328bdd93e7e9c6b43c07ea5e741b75202 /archival/libunarchive | |
parent | e5569cb52e319ec3b2c620b409324be884ac0076 (diff) | |
download | busybox-4bfb84db4e941e227f07346a3b3a56afd7d1e3fe.tar.gz |
gzip: fix a case where tar xzf fails (we use uninitialized fd)
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 0572bee68..04d6f1556 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -1178,6 +1178,7 @@ unpack_gz_stream(int in, int out) ALLOC_STATE; bytebuffer_max = 0x8000; bytebuffer = xmalloc(bytebuffer_max); + gunzip_src_fd = in; again: if (!check_header_gzip(PASS_STATE_ONLY)) { |