From: Mark Andrews Date: Tue, 28 Jul 2009 15:45:43 +0000 (+0000) Subject: 2640. [security] A specially crafted update packet will cause named X-Git-Tag: v9.7.0a2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd190a40a85e5ed780c9c428c6261bc397059b4b;p=thirdparty%2Fbind9.git 2640. [security] A specially crafted update packet will cause named to exit. [RT #20000] --- diff --git a/CHANGES b/CHANGES index 49c48e3a285..d1596640171 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,5 @@ -2640. [placeholder] +2640. [security] A specially crafted update packet will cause named + to exit. [RT #20000] --- 9.7.0a2 released --- diff --git a/bin/named/update.c b/bin/named/update.c index d0969efb58e..2f580720ed6 100644 --- a/bin/named/update.c +++ b/bin/named/update.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: update.c,v 1.157 2009/04/30 06:59:11 marka Exp $ */ +/* $Id: update.c,v 1.158 2009/07/28 15:45:43 marka Exp $ */ #include @@ -979,7 +979,11 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db, if (type == dns_rdatatype_rrsig || type == dns_rdatatype_sig) covers = dns_rdata_covers(&t->rdata); - else + else if (type == dns_rdatatype_any) { + dns_db_detachnode(db, &node); + dns_diff_clear(&trash); + return (DNS_R_NXRRSET); + } else covers = 0; /*