fd8bad
From f0e846528e1c839ab44895a1f13d167a4ad8def3 Mon Sep 17 00:00:00 2001
fd8bad
From: Marek Cermak <macermak@redhat.com>
fd8bad
Date: Wed, 20 Dec 2017 16:18:46 +0100
fd8bad
Subject: [PATCH] Resolves: #1515180 - image/gif classifed as
fd8bad
 application/octet-stream
fd8bad
fd8bad
https://bugzilla.redhat.com/show_bug.cgi?id=1515180
fd8bad
fd8bad
Signed-off-by: Marek Cermak <macermak@redhat.com>
fd8bad
---
fd8bad
 magic/Magdir/images | 2 ++
fd8bad
 1 file changed, 2 insertions(+)
fd8bad
fd8bad
diff --git a/magic/Magdir/images b/magic/Magdir/images
fd8bad
index 69e8e90f..76f7e7da 100644
fd8bad
--- a/magic/Magdir/images
fd8bad
+++ b/magic/Magdir/images
fd8bad
@@ -468,7 +468,9 @@
fd8bad
 !:mime	image/x-unknown
fd8bad
 
fd8bad
 # GIF
fd8bad
+# Strength set up to beat 0x55AA DOS/MBR signature word lookups (+65)
fd8bad
 0	string		GIF8		GIF image data
fd8bad
+!:strength +80
fd8bad
 !:mime	image/gif
fd8bad
 !:apple	8BIMGIFf
fd8bad
 >4	string		7a		\b, version 8%s,
fd8bad
-- 
fd8bad
2.13.6
fd8bad