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>2022-07-12 18:43:50 +0300
commit00a4c69bbbf302dd6323fd6970890ee22ddd4f96 (patch)
treeb64afe66caf8084b13035923e48f19fb7358ef98 /tests
parentTests: Add bad-1-check-crc32-2.xz. (diff)
downloadxz-00a4c69bbbf302dd6323fd6970890ee22ddd4f96.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