diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-06 10:09:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-06 10:09:37 +0000 |
commit | cd3a7514e340084f017101da89b5326147c44b2d (patch) | |
tree | 8aae721213ff5e9485ba7e2c9d6afc8717545762 /main/tiff/tiff-4.0.3-CVE-2013-4232.patch | |
parent | 026e461741037e4fb6788848c8b4d9602b6649ad (diff) | |
download | aports-cd3a7514e340084f017101da89b5326147c44b2d.tar.bz2 aports-cd3a7514e340084f017101da89b5326147c44b2d.tar.xz |
main/tiff: fix CVE-2013-4231, CVE-2013-4232
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.patch | 13 |
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 000000000..1cef664d0 --- /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; |