mirror of
https://github.com/sheumann/hush.git
synced 2025-01-04 22:34:37 +00:00
unzip: add a comment explaining why we don't die
This commit is contained in:
parent
bc7c5d082e
commit
fcc569637b
@ -107,6 +107,8 @@ static void unzip_extract(zip_header_t *zip_header, int src_fd, int dst_fd)
|
|||||||
}
|
}
|
||||||
/* Validate decompression - size */
|
/* Validate decompression - size */
|
||||||
if (zip_header->formatted.ucmpsize != res.bytes_out) {
|
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");
|
bb_error_msg("bad length");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user