El jue, 02-10-2008 a las 12:23 +0800, Paul Wise escribió:

> 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.

I had to revert the patch after being unable to issue recursive queries
to bind. My IP is inside and ACL so it's sure bind wasn't obeying acl
settings.

Regards,
maykel





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to