diff --git a/CHANGES b/CHANGES index 9970ab3f88..1b168b2b1a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +2135. [bug] Uninitialised rdataset in sdlz.c. [RT# 16656] + 2134. [func] Additional statistics support. [RT #16666] 2133. [port] powerpc: Support both IBM and MacOS Power PC diff --git a/lib/dns/sdlz.c b/lib/dns/sdlz.c index e46500fc91..fceb651237 100644 --- a/lib/dns/sdlz.c +++ b/lib/dns/sdlz.c @@ -50,7 +50,7 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: sdlz.c,v 1.9 2006/12/07 23:57:59 marka Exp $ */ +/* $Id: sdlz.c,v 1.10 2007/02/13 23:36:06 marka Exp $ */ /*! \file */ @@ -784,8 +784,10 @@ find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_fixedname_init(&fname); xname = dns_fixedname_name(&fname); - if (rdataset == NULL) + if (rdataset == NULL) { + dns_rdataset_init(&xrdataset); rdataset = &xrdataset; + } result = DNS_R_NXDOMAIN;