From bc85475301c037a06169d3302f59d7d1954bd434 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 09:50:21 +0000 Subject: Apply patch libtiff-CVE-2013-4232.patch patch_name: libtiff-CVE-2013-4232.patch present_in_specfile: true --- diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c index 851fff3..ac5d70d 100644 --- a/tools/tiff2pdf.c +++ b/tools/tiff2pdf.c @@ -2514,6 +2514,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;