3
Description: fix out-of-bounds write in thumbnail and tiffcmp tools
4
Author: Petr Gajdos (pgajdos@suse.cz)
5
Bug: http://bugzilla.maptools.org/show_bug.cgi?id=2499
7
Index: tiff-3.9.5/libtiff/tif_dirinfo.c
8
===================================================================
9
--- tiff-3.9.5.orig/libtiff/tif_dirinfo.c 2015-03-30 08:03:24.213596945 -0400
10
+++ tiff-3.9.5/libtiff/tif_dirinfo.c 2015-03-30 08:07:16.423614207 -0400
13
{ TIFFTAG_INTEROPERABILITYIFD, 1, 1, TIFF_LONG, FIELD_CUSTOM,
14
0, 0, "InteroperabilityIFDOffset" },
15
+ { TIFFTAG_CONSECUTIVEBADFAXLINES, 1, 1, TIFF_LONG, FIELD_CUSTOM,
16
+ 1, 0, "ConsecutiveBadFaxLines" },
17
+ { TIFFTAG_PREDICTOR, 1, 1, TIFF_SHORT, FIELD_CUSTOM,
18
+ 0, 0, "Predictor" },
20
{ TIFFTAG_DNGVERSION, 4, 4, TIFF_BYTE, FIELD_CUSTOM,