On Wed, 2008-10-01 at 16:13 -0400, Maykel Moya wrote:

> With respect to the data at the point of the crash
> 
> ...

I suspected as much. I don't know enough about the bind code to know if
it is correct, but I suspect this should fix the crash:

--- bind9-9.5.0.dfsg.P2.orig/lib/dns/acl.c
+++ bind9-9.5.0.dfsg.P2/lib/dns/acl.c
@@ -219,7 +219,7 @@
        result = isc_radix_search(acl->iptable->radix, &node, &pfx);
 
        /* Found a match. */
-       if (result == ISC_R_SUCCESS && node != NULL) {
+       if (result == ISC_R_SUCCESS && node != NULL && 
node->data[ISC_IS6(family)] != NULL) {
                if (node->bit == 0)
                        family = AF_INET;
                match_num = node->node_num[ISC_IS6(family)];

Upstream should be consulted about the validity of this.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to