]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Tests: Add bad-1-lzma2-11.xz.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 20 Feb 2022 17:38:55 +0000 (19:38 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 20 Feb 2022 17:38:55 +0000 (19:38 +0200)
tests/files/README
tests/files/bad-1-lzma2-11.xz [new file with mode: 0644]

index 1e14378af7c80144e888a4397fb761e82e8d9866..734b828bb07c3eda7de65d8ff8c34f12cbe30c5e 100644 (file)
     the end of the file). The Check type is None to nullify certain
     simple size-based sanity checks in a Block decoder.
 
+    bad-1-lzma2-11.xz has LZMA2 stream that lacks the end of
+    payload marker. When Compressed Size bytes have been decoded,
+    Uncompressed Size bytes of output will have been produced but
+    the LZMA2 decoder doesn't indicate end of stream.
+
diff --git a/tests/files/bad-1-lzma2-11.xz b/tests/files/bad-1-lzma2-11.xz
new file mode 100644 (file)
index 0000000..ce857b6
Binary files /dev/null and b/tests/files/bad-1-lzma2-11.xz differ