components/desktop/libtiff/patches/tiff-05-CVE-2013-4232.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Thu, 17 Mar 2016 08:44:16 -0700
changeset 5622 b0275c75884a
permissions -rw-r--r--
22916341 move libjpeg from desktop to userland 22916316 move libtiff from desktop to userland 22916330 move libpng from desktop to userland 22890827 Tiff man pages are incorrectly installed under /usr/share/man/man3 directory. 15600516 libjpeg manpage should not provide pointers to documents that don't exist 15545272 man pages errors (libpng and libjpeg)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5622
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
We should be able to remove this patch once we update to the most recent version
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
--- tiff-4.0.3/tools/tiff2pdf.c.orig	2013-10-03 18:14:06.789911741 +0530
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
+++ tiff-4.0.3/tools/tiff2pdf.c	2013-10-03 18:14:48.881676646 +0530
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
@@ -2462,6 +2462,7 @@ tsize_t t2p_readwrite_pdf_image(T2P* t2p
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
 					TIFFFileName(input));
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
 				t2p->t2p_error = T2P_ERR_ERROR;
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
 			  _TIFFfree(buffer);
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
+			  return(0);
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
 			} else {
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
 				buffer=samplebuffer;
b0275c75884a 22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
 				t2p->tiff_datasize *= t2p->tiff_samplesperpixel;