mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Added test files to test usage of flush marker in LZMA.
This commit is contained in:
parent
ab5feaf1fc
commit
0ae3208db9
5 changed files with 12 additions and 0 deletions
|
@ -70,6 +70,12 @@
|
||||||
good-single-delta-lzma.tiff.lzma is an image file that compresses
|
good-single-delta-lzma.tiff.lzma is an image file that compresses
|
||||||
better with Delta+LZMA than with plain LZMA.
|
better with Delta+LZMA than with plain LZMA.
|
||||||
|
|
||||||
|
good-single-lzma-flush_1.lzma has a flush marker in the middle of
|
||||||
|
the file, and no EOPM.
|
||||||
|
|
||||||
|
good-single-lzma-flush_2.lzma has a flush marker in the middle of
|
||||||
|
the file and just before EOPM.
|
||||||
|
|
||||||
|
|
||||||
2.2. Bad Files
|
2.2. Bad Files
|
||||||
|
|
||||||
|
@ -115,6 +121,12 @@
|
||||||
but it seemed to be a bad idea since it would increase worst-case CPU
|
but it seemed to be a bad idea since it would increase worst-case CPU
|
||||||
usage.
|
usage.
|
||||||
|
|
||||||
|
bad-single-lzma-flush_beginning.lzma has flush marker in the beginning
|
||||||
|
of the LZMA data.
|
||||||
|
|
||||||
|
bad-single-lzma-flush_twice.lzma has two flush markers with no data
|
||||||
|
between them.
|
||||||
|
|
||||||
|
|
||||||
2.3. Malicious Files
|
2.3. Malicious Files
|
||||||
|
|
||||||
|
|
BIN
tests/files/bad-single-lzma-flush_beginning.lzma
Normal file
BIN
tests/files/bad-single-lzma-flush_beginning.lzma
Normal file
Binary file not shown.
BIN
tests/files/bad-single-lzma-flush_twice.lzma
Normal file
BIN
tests/files/bad-single-lzma-flush_twice.lzma
Normal file
Binary file not shown.
BIN
tests/files/good-single-lzma-flush_1.lzma
Normal file
BIN
tests/files/good-single-lzma-flush_1.lzma
Normal file
Binary file not shown.
BIN
tests/files/good-single-lzma-flush_2.lzma
Normal file
BIN
tests/files/good-single-lzma-flush_2.lzma
Normal file
Binary file not shown.
Loading…
Reference in a new issue