Commit 9baec3ca authored by Mark Andrews's avatar Mark Andrews

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

parent dde4bc92
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
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment