]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Fix savannah bug #63250
authorSergey Poznyakoff <gray@gnu.org>
Sat, 22 Oct 2022 08:14:53 +0000 (11:14 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Sat, 22 Oct 2022 08:14:53 +0000 (11:14 +0300)
* src/buffer.c (magic): Add signature of LZMA files produced by xz.

src/buffer.c

index 36b9c9c06a3ab8113ec3499fdfeb87377913894a..4edaef0b312a5116eec3fb5e4d13576a9a18b873 100644 (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" },