aboutsummaryrefslogtreecommitdiff
path: root/graphics/tiff/files/patch-tif_dirinfo.c
blob: 921b79aae815dd8f3a043269ae1d9709d2e0816a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CVE-2006-3464,3465
===================================================================
--- libtiff/tif_dirinfo.c.orig	2008-08-17 13:03:48.958994316 -0400
+++ libtiff/tif_dirinfo.c	2008-08-17 13:03:52.890034927 -0400
@@ -775,7 +775,8 @@
 		TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithTag",
 			  "Internal error, unknown tag 0x%x",
                           (unsigned int) tag);
-		assert(fip != NULL);
+		/* assert(fip != NULL); */
+
 		/*NOTREACHED*/
 	}
 	return (fip);
@@ -789,7 +790,8 @@
 	if (!fip) {
 		TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithName",
 			  "Internal error, unknown tag %s", field_name);
-		assert(fip != NULL);
+		/* assert(fip != NULL); */
+		
 		/*NOTREACHED*/
 	}
 	return (fip);