aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/stream_decoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2021-01-17 19:20:50 +0200
committerLasse Collin <lasse.collin@tukaani.org>2021-01-17 19:20:50 +0200
commitdb465419ae26ec7fb9b9472183911ff521620c77 (patch)
tree097c2af1103adf4b8aa7e9937bd2c54e39f4a4d0 /src/liblzma/common/stream_decoder.c
parentliblzma: Make EROFS LZMA decoder work when exact uncomp_size isn't known. (diff)
downloadxz-db465419ae26ec7fb9b9472183911ff521620c77.tar.xz
liblzma: In EROFS LZMA decoder, verify that comp_size matches at the end.
When the uncompressed size is known to be exact, after decompressing the stream exactly comp_size bytes of input must have been consumed. This is a minor improvement to error detection.
Diffstat (limited to 'src/liblzma/common/stream_decoder.c')
0 files changed, 0 insertions, 0 deletions