aboutsummaryrefslogtreecommitdiff
path: root/graphics/tiff/files/patch-tif_dirinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tiff/files/patch-tif_dirinfo.c')
-rw-r--r--graphics/tiff/files/patch-tif_dirinfo.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/tiff/files/patch-tif_dirinfo.c b/graphics/tiff/files/patch-tif_dirinfo.c
new file mode 100644
index 000000000000..921b79aae815
--- /dev/null
+++ b/graphics/tiff/files/patch-tif_dirinfo.c
@@ -0,0 +1,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);