summaryrefslogtreecommitdiffstats
path: root/main/tiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-15 13:55:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-15 13:55:42 +0000
commit989a8ed6c908e084db09430b9a37500d9f9475e2 (patch)
tree6501ffa87c8875cc845849ba54ff9a1d36287d30 /main/tiff
parent59f9f35607d342644eddad5be54425864eec93ed (diff)
downloadaports-989a8ed6c908e084db09430b9a37500d9f9475e2.tar.bz2
aports-989a8ed6c908e084db09430b9a37500d9f9475e2.tar.xz
main/tiff: add missing patch
Diffstat (limited to 'main/tiff')
-rw-r--r--main/tiff/CVE-2012-3401.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/tiff/CVE-2012-3401.patch b/main/tiff/CVE-2012-3401.patch
new file mode 100644
index 000000000..847bd0d13
--- /dev/null
+++ b/main/tiff/CVE-2012-3401.patch
@@ -0,0 +1,11 @@
+diff -Naur tiff-4.0.2.orig/tools/tiff2pdf.c tiff-4.0.2/tools/tiff2pdf.c
+--- tiff-4.0.2.orig/tools/tiff2pdf.c 2012-06-15 17:51:54.000000000 -0400
++++ tiff-4.0.2/tools/tiff2pdf.c 2012-07-05 13:34:36.569691068 -0400
+@@ -1066,6 +1066,7 @@
+ "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)){