$NetBSD: patch-aw,v 1.5 2006/08/02 15:42:25 salo Exp $ Security fix for SA21304. --- libtiff/tif_dirinfo.c.orig 2006-02-07 14:51:03.000000000 +0100 +++ libtiff/tif_dirinfo.c 2006-08-02 17:18:41.000000000 +0200 @@ -775,7 +775,8 @@ _TIFFFieldWithTag(TIFF* tif, ttag_t tag) 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 @@ _TIFFFieldWithName(TIFF* tif, const char if (!fip) { TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithName", "Internal error, unknown tag %s", field_name); - assert(fip != NULL); + /* assert(fip != NULL); */ + /*NOTREACHED*/ } return (fip);