2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

2135. [bug] Uninitialised rdataset in sdlz.c. [RT# 16656]

This commit is contained in:
Mark Andrews 2007-02-13 23:36:06 +00:00
parent dde4bc9296
commit 9baec3ca23
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -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;