You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stream BufRead decompressor does not consume all the compressed bytes, despite reading all the decompressed bytes and calling finish().
This is an issue when doing block compression/decompression.
No other decompressor I have tested seems to have this behavior (deflate with flate2, bzip2 with bzip2, xz with xz2).
Meaning that the reader hasn't actually consumed all the bytes of the compressed input, despite all decompressed output being properly decompressed and read and finish being called.
Note that this is specific to the scenario where it's the reader stopping to ask for bytes.
(zstd 0.13)
The text was updated successfully, but these errors were encountered:
Stream BufRead decompressor does not consume all the compressed bytes, despite reading all the decompressed bytes and calling
finish()
.This is an issue when doing block compression/decompression.
No other decompressor I have tested seems to have this behavior (deflate with
flate2
, bzip2 withbzip2
, xz withxz2
).Reproduction
The last assert fails:
Meaning that the reader hasn't actually consumed all the bytes of the compressed input, despite all decompressed output being properly decompressed and read and
finish
being called.Note that this is specific to the scenario where it's the reader stopping to ask for bytes.
(zstd 0.13)
The text was updated successfully, but these errors were encountered: