aboutsummaryrefslogtreecommitdiff
path: root/tests/files (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-04-09tests/files/README: Update the main heading.Lasse Collin1-2/+2
2024-04-09tests/files/README: Explain how to recreate the ARM64 test files.Lasse Collin1-1/+14
2024-04-09Remove the backdoor found in 5.6.0 and 5.6.1 (CVE-2024-3094).Lasse Collin8-27/+0
While the backdoor was inactive (and thus harmless) without inserting a small trigger code into the build system when the source package was created, it's good to remove this anyway: - The executable payloads were embedded as binary blobs in the test files. This was a blatant violation of the Debian Free Software Guidelines. - On machines that see lots bots poking at the SSH port, the backdoor noticeably increased CPU load, resulting in degraded user experience and thus overwhelmingly negative user feedback. - The maintainer who added the backdoor has disappeared. - Backdoors are bad for security. This reverts the following without making any other changes: 6e636819 Tests: Update two test files. a3a29bbd Tests: Test --single-stream can decompress bad-3-corrupt_lzma2.xz. 0b4ccc91 Tests: Update RISC-V test files. 8c9b8b20 liblzma: Fix typos in crc32_fast.c and crc64_fast.c. 82ecc538 liblzma: Fix false Valgrind error report with GCC. cf44e4b7 Tests: Add a few test files. 3060e107 Tests: Use smaller dictionary size in RISC-V test files. e2870db5 Tests: Add two RISC-V Filter test files. The RISC-V test files also have real content that tests the filter but the real content would fit into much smaller files. A generator program would need to be available as well. Thanks to Andres Freund for finding and reporting it and making it public quickly so others could act without a delay. See: https://www.openwall.com/lists/oss-security/2024/03/29/4
2024-03-09Tests: Update two test files.Jia Tan2-0/+0
The original files were generated with random local to my machine. To better reproduce these files in the future, a constant seed was used to recreate these files.
2024-03-09Tests: Update RISC-V test files.Jia Tan2-0/+0
This increases code coverage and tests for possible shifting bugs.
2024-02-23Tests: Add a few test files.Jia Tan6-0/+19
2024-02-14Change most public domain parts to 0BSD.Lasse Collin1-1/+2
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
2024-01-23Tests: Use smaller dictionary size in RISC-V test files.Jia Tan2-0/+0
2024-01-23Tests: Add two RISC-V Filter test files.Jia Tan3-0/+8
These test files achieve 100% code coverage in src/liblzma/simple/riscv.c. They contain all of the instructions that should be filtered and a few cases that should not.
2022-12-13Tests: Fix a typo in tests/files/README.Lasse Collin1-1/+1
2022-12-13Tests: Add two ARM64 test files.Lasse Collin3-0/+7
2022-11-09Tests: Add .lz (lzip) test files.Lasse Collin19-11/+98
2022-09-16Tests: Add a test file for lzma_index_append() integer overflow bug.Lasse Collin2-0/+10
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.
2022-07-14Tests: Add .lzma test files.Lasse Collin9-13/+50
2022-06-14Tests: Add test file good-1-empty-bcj-lzma2.xz.Lasse Collin2-0/+5
This is from test_bcj_exact_size.c. It's good to have it as a standalone file.
2022-02-20Tests: Add bad-1-lzma2-11.xz.Lasse Collin2-0/+5
2021-01-24Tests: Add bad-1-lzma2-10.xz and also modify -9.xz.Lasse Collin3-2/+9
2021-01-24Tests: Add bad-1-lzma2-9.xz.Lasse Collin2-0/+4
2021-01-24Tests: Add bad-1-check-crc32-2.xz.Lasse Collin2-0/+7
2011-05-28Tests: Add a test file for the bug in the previous commit.Lasse Collin2-0/+4
2011-03-31Tests: Add a new file to test empty LZMA2 streams.Lasse Collin2-0/+4
2009-04-14Minor fixes to test files' README.Lasse Collin1-8/+9
2009-02-06Recreated the BCJ test files for x86 and SPARC. The old filesLasse Collin2-0/+0
were linked with crt*.o, which are copyrighted, and thus the old test files were not in the public domain as a whole. They are freely distributable though, but it is better to be careful and avoid including any copyrighted pieces in the test files. The new files are just compiled and assembled object files, and thus don't contain any copyrighted code.
2008-12-15Added two new test files.Lasse Collin3-0/+7
2008-11-19Oh well, big messy commit again. Some highlights:Lasse Collin47-3/+9
- Updated to the latest, probably final file format version. - Command line tool reworked to not use threads anymore. Threading will probably go into liblzma anyway. - Memory usage limit is now about 30 % for uncompression and about 90 % for compression. - Progress indicator with --verbose - Simplified --help and full --long-help - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. - Some bug fixes
2008-09-30Renamed the test files from .lzma suffix to .xz suffix.Lasse Collin58-64/+64
2008-09-30Added one more test file.Lasse Collin2-4/+11
2008-09-30Added two test files.Lasse Collin3-0/+6
2008-09-27Changed magic bytes to match the updated spec. FilenameLasse Collin54-0/+0
suffix wasn't changed yet.
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin117-185/+118
broken. API has changed a lot and it will still change a little more here and there. The command line tool doesn't have all the required changes to reflect the API changes, so it's easy to get "internal error" or trigger assertions.
2008-05-06Bunch of grammar fixes from meyering.Lasse Collin1-1/+1
2008-01-26Added more test files.Lasse Collin4-0/+11
2008-01-26Added more test files.Lasse Collin3-0/+6
2008-01-25Added more Multi-Block test files. Improved someLasse Collin4-6/+28
descriptions in the test files' README.
2008-01-24Added more Multi-Block Stream test files.Lasse Collin7-0/+23
2008-01-24Added bunch of test files containing Multi-Block Streams.Lasse Collin19-0/+53
2008-01-23Added bad-single-none-footer_filter_flags.lzma andLasse Collin3-0/+5
bad-single-none-too_long_vli.lzma.
2008-01-18Added test files to test usage of flush marker in LZMA.Lasse Collin5-0/+12
2008-01-09Added good-single-none-empty_3.lzma andLasse Collin3-0/+6
bad-single-none-empty.lzma.
2008-01-08Updated tests/files/README.Lasse Collin1-6/+9
2008-01-08Added test files with empty Compressed Data.Lasse Collin4-0/+6
2008-01-08Added good-single-subblock_implicit.lzma.Lasse Collin2-0/+2
2008-01-08Added a few test files.Lasse Collin6-3/+18
2008-01-07Added tests/files/README.Lasse Collin1-0/+108
2008-01-07Cleaned up the tests/files directory.Lasse Collin3-0/+0
2007-12-09Added a bunch of .lzma test files.Lasse Collin17-0/+0