projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc7c5d0
)
unzip: add a comment explaining why we don't die
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 19 Oct 2007 21:03:09 +0000
(21:03 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 19 Oct 2007 21:03:09 +0000
(21:03 -0000)
archival/unzip.c
patch
|
blob
|
history
diff --git
a/archival/unzip.c
b/archival/unzip.c
index 37781e44e4a7d03fea49c21cc5a64316a24e515e..56a5eb625a2e05f8061ab4f91aaf42feaabd1a3b 100644
(file)
--- a/
archival/unzip.c
+++ b/
archival/unzip.c
@@
-107,6
+107,8
@@
static void unzip_extract(zip_header_t *zip_header, int src_fd, int dst_fd)
}
/* Validate decompression - size */
if (zip_header->formatted.ucmpsize != res.bytes_out) {
+ /* Don't die. Who knows, maybe len calculation
+ * was botched somewhere. After all, crc matched! */
bb_error_msg("bad length");
}
}