summaryrefslogtreecommitdiffstats
path: root/abs/core/libtiff/tiff-4.0.3-CVE-2013-4232.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libtiff/tiff-4.0.3-CVE-2013-4232.patch')
-rw-r--r--abs/core/libtiff/tiff-4.0.3-CVE-2013-4232.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/libtiff/tiff-4.0.3-CVE-2013-4232.patch b/abs/core/libtiff/tiff-4.0.3-CVE-2013-4232.patch
new file mode 100644
index 0000000..87673d9
--- /dev/null
+++ b/abs/core/libtiff/tiff-4.0.3-CVE-2013-4232.patch
@@ -0,0 +1,15 @@
+Index: tiff2pdf.c
+===================================================================
+RCS file: /cvs/maptools/cvsroot/libtiff/tools/tiff2pdf.c,v
+retrieving revision 1.71
+diff -u -r1.71 tiff2pdf.c
+--- tiff2pdf.c 2 May 2013 14:54:08 -0000 1.71
++++ tiff2pdf.c 13 Aug 2013 04:45:40 -0000
+@@ -2462,6 +2462,7 @@
+ TIFFFileName(input));
+ t2p->t2p_error = T2P_ERR_ERROR;
+ _TIFFfree(buffer);
++ return(0);
+ } else {
+ buffer=samplebuffer;
+ t2p->tiff_datasize *= t2p->tiff_samplesperpixel;