decompress_uncompress: comment out debug printout on corrupted data
99% plus of all people who'll get corrupted archive wouldn't bother debugging it. The rest can uncomment the code. function old new delta unpack_Z_stream 1304 1234 -70 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c71547ccfc
commit
a8461173ba
@ -232,11 +232,12 @@ unpack_Z_stream(transformer_aux_data_t *aux, int src_fd, int dst_fd)
|
|||||||
|
|
||||||
posbits -= n_bits;
|
posbits -= n_bits;
|
||||||
p = &inbuf[posbits >> 3];
|
p = &inbuf[posbits >> 3];
|
||||||
|
/*
|
||||||
bb_error_msg
|
bb_error_msg
|
||||||
("insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)",
|
("insize:%d posbits:%d inbuf:%02X %02X %02X %02X %02X (%d)",
|
||||||
insize, posbits, p[-1], p[0], p[1], p[2], p[3],
|
insize, posbits, p[-1], p[0], p[1], p[2], p[3],
|
||||||
(posbits & 07));
|
(posbits & 07));
|
||||||
|
*/
|
||||||
bb_error_msg("corrupted data");
|
bb_error_msg("corrupted data");
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user