From 766df4f62c165ba96d60af8fadbada51349fd140 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 20 Feb 2022 19:38:55 +0200 Subject: [PATCH] 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 0000000000000000000000000000000000000000..ce857b67b8a989dceb009cfba6bb6b5a56de1eea GIT binary patch literal 64 zcmexsUKJ6=z`*cd=%yp{0Rdh`MjjxKfg${R)_g_=9*@+VoP34w{Gyx`MJ@(L1zwZ4 Qn@_V9&8uPrtBQ;Q084}sRsaA1 literal 0 HcmV?d00001