On jue, 2008-10-02 at 12:23 +0800, Paul Wise wrote:
> 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 applied the patch and bind is working now.
Regards,
maykel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]