Library of functions for manipulating TIFF format image files
CentOS Sources
2016-08-02 1ad9335dc0c1325262c62842eda01476243ec821
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From d3f9829a37661749b200760ad6525f77cf77d77a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Mon, 11 Jul 2016 16:04:34 +0200
Subject: [PATCH 4/8] Fix CVE-2016-3632
 
---
 tools/thumbnail.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 
diff --git a/tools/thumbnail.c b/tools/thumbnail.c
index fd1cba5..75e7009 100644
--- a/tools/thumbnail.c
+++ b/tools/thumbnail.c
@@ -253,7 +253,8 @@ static struct cpTag {
     { TIFFTAG_WHITEPOINT,        2, TIFF_RATIONAL },
     { TIFFTAG_PRIMARYCHROMATICITIES,    (uint16) -1,TIFF_RATIONAL },
     { TIFFTAG_HALFTONEHINTS,        2, TIFF_SHORT },
-    { TIFFTAG_BADFAXLINES,        1, TIFF_LONG },
+    // disable BADFAXLINES, CVE-2016-3632
+    //{ TIFFTAG_BADFAXLINES,        1, TIFF_LONG },
     { TIFFTAG_CLEANFAXDATA,        1, TIFF_SHORT },
     { TIFFTAG_CONSECUTIVEBADFAXLINES,    1, TIFF_LONG },
     { TIFFTAG_INKSET,            1, TIFF_SHORT },
-- 
2.7.4