Blame SOURCES/libtiff-CVE-2013-4232.patch

7c98bb
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c
7c98bb
index 92a1a3d..26a1acb 100644
7c98bb
--- a/tools/tiff2pdf.c
7c98bb
+++ b/tools/tiff2pdf.c
7c98bb
@@ -2462,6 +2462,7 @@ tsize_t t2p_readwrite_pdf_image(T2P* t2p, TIFF* input, TIFF* output){
7c98bb
 					TIFFFileName(input));
7c98bb
 				t2p->t2p_error = T2P_ERR_ERROR;
7c98bb
 			  _TIFFfree(buffer);
7c98bb
+                return(0);
7c98bb
 			} else {
7c98bb
 				buffer=samplebuffer;
7c98bb
 				t2p->tiff_datasize *= t2p->tiff_samplesperpixel;