mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 23:32:05 -04:00
Fix a bug causing dns_acl_isany() to return spurious results [rt18000]
This commit is contained in:
parent
2294423014
commit
28ad0be64e
2 changed files with 6 additions and 3 deletions
5
CHANGES
5
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]
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue