aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/validate_map.sh
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2022-09-21 19:28:53 +0800
committerLasse Collin <lasse.collin@tukaani.org>2022-09-28 15:29:49 +0300
commit3d5a99ca373a4e86faf671226ca6487febb9eeac (patch)
tree74e2cc243f7c7531827faa947c3ceea6a81c81d0 /src/liblzma/validate_map.sh
parenttuklib_physmem: Fix Unicode builds on Windows. (diff)
downloadxz-3d5a99ca373a4e86faf671226ca6487febb9eeac.tar.xz
liblzma: Fix copying of check type statistics in lzma_index_cat().
The check type of the last Stream in dest was never copied to dest->checks (the code tried to copy it but it was done too late). This meant that the value returned by lzma_index_checks() would only include the check type of the last Stream when multiple lzma_indexes had been concatenated. In xz --list this meant that the summary would only list the check type of the last Stream, so in this sense this was only a visual bug. However, it's possible that some applications use this information for purposes other than merely showing it to the users in an informational message. I'm not aware of such applications though and it's quite possible that such applications don't exist. Regular streamed decompression in xz or any other application doesn't use lzma_index_cat() and so this bug cannot affect them.
Diffstat (limited to 'src/liblzma/validate_map.sh')
0 files changed, 0 insertions, 0 deletions