← Commit list

fcc569637

Denis Vlasenko
Denis Vlasenko
2007-10-19
FAILED Duration: 21s

Subject

unzip: add a comment explaining why we don't die

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/unzip.c+2 -0
@@ -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");
}
}