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-16 17:08:53 +0300 |
commit | c3592d0a55114144686ecf960cb516d6b31c98e9 (patch) | |
tree | b0b3558d0f8a9db2667e3e1239d7c1bb0afcbe9a /tests/files/bad-3-index-uncomp-overflow.xz | |
parent | Translations: Add Turkish translation. (diff) | |
download | xz-c3592d0a55114144686ecf960cb516d6b31c98e9.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 '')
-rw-r--r-- | tests/files/bad-3-index-uncomp-overflow.xz | bin | 0 -> 132 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/files/bad-3-index-uncomp-overflow.xz b/tests/files/bad-3-index-uncomp-overflow.xz Binary files differnew file mode 100644 index 00000000..e1440ec6 --- /dev/null +++ b/tests/files/bad-3-index-uncomp-overflow.xz |