2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

1505. [bug] Uninitaliased rdataset is sdb. [RT #8750]

This commit is contained in:
Mark Andrews
2003-09-17 05:34:55 +00:00
parent 4607e7a9b8
commit fefe1106d9
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
1505. [bug] Uninitaliased rdataset is sdb. [RT #8750]
1504. [func] New zone type "delegation-only".
1503. [port] win32: install libeay32.dll outside of system32.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sdb.c,v 1.38 2001/11/15 20:32:03 gson Exp $ */
/* $Id: sdb.c,v 1.39 2003/09/17 05:34:55 marka Exp $ */
#include <config.h>
@@ -818,8 +818,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;