aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2021-01-24 18:51:51 +0200
committerLasse Collin <lasse.collin@tukaani.org>2021-01-24 18:51:51 +0200
commit939fc5ed654aac25fe0c8684b2df8dbeadb2de1e (patch)
treef010c3278cc8624a3154a7a95eac0e26dea4b21f /tests
parentTests: Add bad-1-check-crc32-2.xz. (diff)
downloadxz-939fc5ed654aac25fe0c8684b2df8dbeadb2de1e.tar.xz
Tests: Add bad-1-lzma2-9.xz.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/README4
-rw-r--r--tests/files/bad-1-lzma2-9.xzbin0 -> 72 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/files/README b/tests/files/README
index 1ee81bda..18c4d583 100644
--- a/tests/files/README
+++ b/tests/files/README
@@ -245,3 +245,7 @@
bad-1-lzma2-8.xz is like good-1-lzma2-4.xz but doesn't set new
properties in the third LZMA2 chunk.
+ bad-1-lzma2-9.xz has LZMA2 stream that is truncated at the end of
+ a LZMA2 chunk and has no end marker. The uncompressed size of the
+ partial LZMA2 stream exceeds the value stored in the Block Header.
+
diff --git a/tests/files/bad-1-lzma2-9.xz b/tests/files/bad-1-lzma2-9.xz
new file mode 100644
index 00000000..cf191010
--- /dev/null
+++ b/tests/files/bad-1-lzma2-9.xz
Binary files differ