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