aboutsummaryrefslogtreecommitdiffstats
path: root/main/tiff/tiff-4.0.3-CVE-2013-4232.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/tiff/tiff-4.0.3-CVE-2013-4232.patch')
-rw-r--r--main/tiff/tiff-4.0.3-CVE-2013-4232.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/tiff/tiff-4.0.3-CVE-2013-4232.patch b/main/tiff/tiff-4.0.3-CVE-2013-4232.patch
new file mode 100644
index 0000000000..1cef664d05
--- /dev/null
+++ b/main/tiff/tiff-4.0.3-CVE-2013-4232.patch
@@ -0,0 +1,13 @@
+http://pkgs.fedoraproject.org/cgit/libtiff.git/plain/libtiff-CVE-2013-4232.patch
+http://bugs.gentoo.org/480466
+
+--- a/tools/tiff2pdf.c
++++ b/tools/tiff2pdf.c
+@@ -2462,6 +2462,7 @@ tsize_t t2p_readwrite_pdf_image(T2P* t2p, TIFF* input, TIFF* output){
+ TIFFFileName(input));
+ t2p->t2p_error = T2P_ERR_ERROR;
+ _TIFFfree(buffer);
++ return(0);
+ } else {
+ buffer=samplebuffer;
+ t2p->tiff_datasize *= t2p->tiff_samplesperpixel;