~ubuntu-branches/ubuntu/precise/tiff/precise-security

« back to all changes in this revision

Viewing changes to debian/patches/CVE-2014-8128-5.patch

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-03-30 08:11:18 UTC
  • Revision ID: package-import@ubuntu.com-20150330081118-bvaoaii1act27voq
Tags: 3.9.5-2ubuntu1.7
* SECURITY UPDATE: Fix multiple security issues
  - debian/patches/CVE-2014-81xx-1.patch to CVE-2014-81xx-11.patch
  - debian/patches/CVE-2014-8128-5.patch
  - debian/patches/CVE-2014-9655-1.patch to CVE-2014-9655-3.patch
  - debian/patches/read_overrun.patch
  - debian/patches/CVE-2014-8130.patch
  - CVE-2014-8127 (partially)
  - CVE-2014-8128
  - CVE-2014-8129
  - CVE-2014-8130
  - CVE-2014-9330
  - CVE-2014-9655

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Backport of:
 
2
 
 
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
 
6
 
 
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
 
11
@@ -270,6 +270,10 @@
 
12
       0,       0,      "StoNits" },
 
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" },
 
19
 /* begin DNG tags */
 
20
     { TIFFTAG_DNGVERSION,      4, 4,   TIFF_BYTE,      FIELD_CUSTOM, 
 
21
       0,       0,      "DNGVersion" },