← Commit list

a04e4c226

Denys Vlasenko
Denys Vlasenko
2011-08-22
FAILED Duration: 209s

Subject

uncompress: die on read errors

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/libarchive/decompress_uncompress.c+1 -1
@@ -164,7 +164,7 @@ unpack_Z_stream(int fd_in, int fd_out)
if (insize < (int) (IBUFSIZ + 64) - IBUFSIZ) {
rsize = safe_read(fd_in, inbuf + insize, IBUFSIZ);
if (rsize < 0)
- bb_error_msg(bb_msg_read_error);
+ bb_error_msg_and_die(bb_msg_read_error);
insize += rsize;
}