diff --git a/CHANGES b/CHANGES index fcd4e0fbca..147aeb544f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2365. [bug] Fix an bug that caused dns_acl_isany() to return + spurious results. [RT #18000] + 2364. [bug] named could trigger a assertion when serving a malformed signed zone. [RT #17828] @@ -6,7 +9,7 @@ 2362. [cleanup] Make "rrset-order fixed" a compile-time option. settable by "./configure --enable-fixed-rrset". - Disabled by default. [rt17977] + Disabled by default. [RT #17977] 2361. [bug] "recursion" statistics counter could be counted multiple times for a single query. [RT #17990] diff --git a/lib/dns/acl.c b/lib/dns/acl.c index f6160b70ac..533df2ebca 100644 --- a/lib/dns/acl.c +++ b/lib/dns/acl.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: acl.c,v 1.44 2008/01/27 02:13:34 marka Exp $ */ +/* $Id: acl.c,v 1.45 2008/04/29 01:01:42 each Exp $ */ /*! \file */ @@ -148,7 +148,7 @@ dns_acl_isanyornone(dns_acl_t *acl, isc_boolean_t pos) return (ISC_FALSE); if (acl->iptable->radix->head->prefix->bitlen == 0 && - *(isc_boolean_t *) (acl->iptable->radix->head->data) == pos) + *(isc_boolean_t *) (acl->iptable->radix->head->data[0]) == pos) return (ISC_TRUE); return (ISC_FALSE); /* All others */