From 939fc5ed654aac25fe0c8684b2df8dbeadb2de1e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 24 Jan 2021 18:51:51 +0200 Subject: [PATCH] Tests: Add bad-1-lzma2-9.xz. --- tests/files/README | 4 ++++ tests/files/bad-1-lzma2-9.xz | Bin 0 -> 72 bytes 2 files changed, 4 insertions(+) create mode 100644 tests/files/bad-1-lzma2-9.xz 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 0000000000000000000000000000000000000000..cf191010b432f4d88d125c9d6cf191e38d3a91c9 GIT binary patch literal 72 zcmexsUKJ6=z`&TPbkB_WfC#T5BL@QrSc?kqGBWUZq~_%0bA{&@<)kQbF)=VyI4@o# X%D||>Ym=VEJi%!uPz?|;Mn(YuOHL0& literal 0 HcmV?d00001