summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches/patch-tools_tiff2pdf.c
diff options
context:
space:
mode:
authoradam <adam>2012-10-01 18:11:29 +0000
committeradam <adam>2012-10-01 18:11:29 +0000
commitb7c2c4ac413a2c4c03a9f6cc95292bd505f394be (patch)
tree2e13e079ab15b1e258e2a1a1c969579f7ebb573a /graphics/tiff/patches/patch-tools_tiff2pdf.c
parentc233601c64ee324dc45d3cafa8065b48e66aa1bb (diff)
downloadpkgsrc-b7c2c4ac413a2c4c03a9f6cc95292bd505f394be.tar.gz
Changes 4.0.3:
MAJOR CHANGES: None CHANGES IN THE SOFTWARE CONFIGURATION: Updated to use Automake 1.12.4. Avoids security problem with 'make distcheck' (CVE-2012-3386). CHANGES IN LIBTIFF: Various memory buffer access fixes. Fix handling when writing RGBA jpeg compressed imagery (http://trac.osgeo.org/gdal/ticket/4732). Fix to work properly with IJG JPEG 7+. New functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(), TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount() to use as external accessors for the opaque type TIFFField. Fix bug rewriting image tiles in a compressed file (http://trac.osgeo.org/gdal/ticket/4771). Add TIFF/FX tag support in libtiff. CHANGES IN THE TOOLS: tiff2pdf: Fail when TIFFSetDirectory() fails. This prevents core dumps or perhaps even arbitrary code execution when processing a corrupt input file (CVE-2012-3401). tiff2pdf: Fix two places where t2p_error didn't get set after a malloc failure. No crash risk AFAICS, but the program might not report exit code 1 as desired. CHANGES IN THE CONTRIB AREA: None
Diffstat (limited to 'graphics/tiff/patches/patch-tools_tiff2pdf.c')
-rw-r--r--graphics/tiff/patches/patch-tools_tiff2pdf.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/graphics/tiff/patches/patch-tools_tiff2pdf.c b/graphics/tiff/patches/patch-tools_tiff2pdf.c
deleted file mode 100644
index 7cfe7943acf..00000000000
--- a/graphics/tiff/patches/patch-tools_tiff2pdf.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-tools_tiff2pdf.c,v 1.1 2012/07/19 21:41:45 wiz Exp $
-
-CVE-2012-3401, buffer overflow in tiff2pdf
-
---- tools/tiff2pdf.c.orig 2012-06-15 21:51:54.000000000 +0000
-+++ tools/tiff2pdf.c
-@@ -1066,6 +1066,7 @@ void t2p_read_tiff_init(T2P* t2p, TIFF*
- "Can't set directory %u of input file %s",
- i,
- TIFFFileName(input));
-+ t2p->t2p_error = T2P_ERR_ERROR;
- return;
- }
- if(TIFFGetField(input, TIFFTAG_PAGENUMBER, &pagen, &paged)){