summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/unzip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index 37781e4..56a5eb6 100644
--- 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");
}
}