Blame SOURCES/libtiff-CVE-2013-4231.patch

895715
diff --git a/tools/gif2tiff.c b/tools/gif2tiff.c
895715
index 17f7a19..375b152 100644
895715
--- a/tools/gif2tiff.c
895715
+++ b/tools/gif2tiff.c
895715
@@ -333,6 +333,10 @@ readraster(void)
895715
     int status = 1;
895715
 
895715
     datasize = getc(infile);
895715
+
895715
+    if (datasize > 12)
895715
+        return 0;
895715
+
895715
     clear = 1 << datasize;
895715
     eoi = clear + 1;
895715
     avail = clear + 2;