]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Tests: Add bad-1-lzma2-9.xz.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 24 Jan 2021 16:51:51 +0000 (18:51 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 24 Jan 2021 16:51:51 +0000 (18:51 +0200)
tests/files/README
tests/files/bad-1-lzma2-9.xz [new file with mode: 0644]

index 1ee81bdaf057513ccaf3554cc2987614857f1868..18c4d5831e1a8d2908e49c2e01ce261df2e4ef31 100644 (file)
     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 (file)
index 0000000..cf19101
Binary files /dev/null and b/tests/files/bad-1-lzma2-9.xz differ