aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/auto_decoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-02-22 02:04:18 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-07-12 19:30:40 +0300
commitb8f667fe0c3e17fd2c559901d2aaf19b1dfd51f2 (patch)
treed33d6a3132e9b34b6779177120b1832c81fb2b5f /src/liblzma/common/auto_decoder.c
parentUpdate THANKS. (diff)
downloadxz-b8f667fe0c3e17fd2c559901d2aaf19b1dfd51f2.tar.xz
liblzma: Check the return value of lzma_index_append() in threaded encoder.
If lzma_index_append() failed (most likely memory allocation failure) it could have gone unnoticed and the resulting .xz file would have an incorrect Index. Decompressing such a file would produce the correct uncompressed data but then an error would occur when verifying the Index field.
Diffstat (limited to 'src/liblzma/common/auto_decoder.c')
0 files changed, 0 insertions, 0 deletions