From: Denis Vlasenko Date: Fri, 19 Oct 2007 21:03:09 +0000 (-0000) Subject: unzip: add a comment explaining why we don't die X-Git-Tag: 1_8_0~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fcc569637b85626078c9c353d5552e7847b4ca0a;p=oweals%2Fbusybox.git unzip: add a comment explaining why we don't die --- diff --git a/archival/unzip.c b/archival/unzip.c index 37781e44e..56a5eb625 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"); } }