mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 02:19:59 -04:00
2135. [bug] Uninitialised rdataset in sdlz.c. [RT# 16656]
This commit is contained in:
parent
dde4bc9296
commit
9baec3ca23
2 changed files with 6 additions and 2 deletions
2
CHANGES
2
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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue