Fix savannah bug #63250

* src/buffer.c (magic): Add signature of LZMA files produced by xz.
This commit is contained in:
Sergey Poznyakoff
2022-10-22 11:14:53 +03:00
parent 87f9e42108
commit 02f9af1b8d

View File

@@ -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" },