summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches
diff options
context:
space:
mode:
authoradam <adam>2012-10-01 18:11:29 +0000
committeradam <adam>2012-10-01 18:11:29 +0000
commitca0be0af283f112ba080e42c7efe7617a8a65bcf (patch)
tree2e13e079ab15b1e258e2a1a1c969579f7ebb573a /graphics/tiff/patches
parent5041dcae6f960347a7e773936d1d507a60eb1e38 (diff)
downloadpkgsrc-ca0be0af283f112ba080e42c7efe7617a8a65bcf.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')
-rw-r--r--graphics/tiff/patches/patch-configure4
-rw-r--r--graphics/tiff/patches/patch-tools_tiff2pdf.c14
2 files changed, 2 insertions, 16 deletions
diff --git a/graphics/tiff/patches/patch-configure b/graphics/tiff/patches/patch-configure
index fd82013d3b7..f53e21d1c04 100644
--- a/graphics/tiff/patches/patch-configure
+++ b/graphics/tiff/patches/patch-configure
@@ -1,10 +1,10 @@
-$NetBSD: patch-configure,v 1.1 2012/02/06 12:32:08 wiz Exp $
+$NetBSD: patch-configure,v 1.2 2012/10/01 18:11:30 adam Exp $
Fix unportable test(1) construct.
--- configure.orig 2012-01-28 22:35:42.000000000 +0000
+++ configure
-@@ -18044,7 +18044,7 @@ if test "${with_jpeg12_lib+set}" = set;
+@@ -18145,7 +18145,7 @@ if test "${with_jpeg12_lib+set}" = set;
fi
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)){