aboutsummaryrefslogtreecommitdiff
path: root/tests/files/bad-3-index-uncomp-overflow.xz (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-09-16Tests: Add a test file for lzma_index_append() integer overflow bug.Lasse Collin1-0/+0
This test fails before commit 18d7facd3802b55c287581405c4d49c98708c136. test_files.sh now runs xz -l for bad-3-index-uncomp-overflow.xz because only then the previously-buggy code path gets tested. Normal decompression doesn't use lzma_index_append() at all. Instead, lzma_index_hash functions are used and those already did the overflow check.