summaryrefslogtreecommitdiff
path: root/libtiff-32/tiff2pdf_use-after-free.patch
blob: 87673d91b4b56a4ef4835bc4cd8d5b9459f4d80c (plain)
    1 Index: tiff2pdf.c
    2 ===================================================================
    3 RCS file: /cvs/maptools/cvsroot/libtiff/tools/tiff2pdf.c,v
    4 retrieving revision 1.71
    5 diff -u -r1.71 tiff2pdf.c
    6 --- tiff2pdf.c	2 May 2013 14:54:08 -0000	1.71
    7 +++ tiff2pdf.c	13 Aug 2013 04:45:40 -0000
    8 @@ -2462,6 +2462,7 @@
    9  					TIFFFileName(input));
   10  				t2p->t2p_error = T2P_ERR_ERROR;
   11  			  _TIFFfree(buffer);
   12 +                          return(0);
   13  			} else {
   14  				buffer=samplebuffer;
   15  				t2p->tiff_datasize *= t2p->tiff_samplesperpixel;

Generated by cgit