File tiff-3.8.2-CVE-2012-3401.patch of Package tiff3

Index: tools/tiff2pdf.c
===================================================================
--- tools/tiff2pdf.c.orig
+++ tools/tiff2pdf.c
@@ -1066,6 +1066,7 @@ void t2p_read_tiff_init(T2P* t2p, TIFF*
 				"Can't set directory %u of input file %s", 
 				i,
 				TIFFFileName(input));
+                       t2p->t2p_error = T2P_ERR_ERROR;
 			return;
 		}
 		if(TIFFGetField(input, TIFFTAG_PAGENUMBER, &pagen, &paged)){
openSUSE Build Service is sponsored by