From c274e542adbc5d5c329eecf23768ebe72ff42311 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 23 Feb 2001 05:33:36 +0000 Subject: [PATCH] The fixes to return the SIG of a DNAME RR missed one place where search.zonecut was set, and consequently we were accessing search.zonecut_sigrdataset without initializing it. --- lib/dns/rbtdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 2cee553e7d..d31f1aae48 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rbtdb.c,v 1.148 2001/02/23 02:14:14 halley Exp $ */ +/* $Id: rbtdb.c,v 1.149 2001/02/23 05:33:36 halley Exp $ */ /* * Principal Author: Bob Halley @@ -1757,6 +1757,7 @@ zone_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, new_reference(search.rbtdb, node); search.zonecut = node; search.zonecut_rdataset = header; + search.zonecut_sigrdataset = NULL; search.need_cleanup = ISC_TRUE; maybe_zonecut = ISC_FALSE; at_zonecut = ISC_TRUE;