From 555de11873eb00c9b94a8be70645db502e5a9dbd Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 20 Feb 2022 19:38:55 +0200 Subject: Tests: Add bad-1-lzma2-11.xz. --- tests/files/README | 5 +++++ tests/files/bad-1-lzma2-11.xz | Bin 0 -> 64 bytes 2 files changed, 5 insertions(+) create mode 100644 tests/files/bad-1-lzma2-11.xz diff --git a/tests/files/README b/tests/files/README index 1e14378a..734b828b 100644 --- a/tests/files/README +++ b/tests/files/README @@ -256,3 +256,8 @@ 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 index 00000000..ce857b67 Binary files /dev/null and b/tests/files/bad-1-lzma2-11.xz differ -- cgit v1.2.3