From 02f9af1b8df67e55ceb19ea1465d210a2fa1f02c Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 22 Oct 2022 11:14:53 +0300 Subject: Fix savannah bug #63250 * src/buffer.c (magic): Add signature of LZMA files produced by xz. --- src/buffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/buffer.c b/src/buffer.c index 36b9c9c0..4edaef0b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -308,6 +308,7 @@ static struct zip_magic const magic[] = { { ct_bzip2, 3, "BZh" }, { ct_lzip, 4, "LZIP" }, { ct_lzma, 6, "\xFFLZMA" }, + { ct_lzma, 3, "\x5d\x00\x00" }, { ct_lzop, 4, "\211LZO" }, { ct_xz, 6, "\xFD" "7zXZ" }, { ct_zstd, 4, "\x28\xB5\x2F\xFD" }, -- cgit v1.2.1