Browse Source

Fix savannah bug #63250

* src/buffer.c (magic): Add signature of LZMA files produced by xz.
Sergey Poznyakoff 2 years ago
parent
commit
02f9af1b8d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/buffer.c

+ 1 - 0
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" },