diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-16 17:08:53 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-17 00:21:54 +0300 |
commit | ea57b9aa2c3e1cdb667f8dd698314b1c36047018 (patch) | |
tree | 2aae469e5011cf0485d5a2b15b9ed024328c811e /src/liblzma/simple | |
parent | liblzma: lzma_index_append: Add missing integer overflow check. (diff) | |
download | xz-ea57b9aa2c3e1cdb667f8dd698314b1c36047018.tar.xz |
Tests: Add a test file for lzma_index_append() integer overflow bug.
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.
Diffstat (limited to 'src/liblzma/simple')
0 files changed, 0 insertions, 0 deletions