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:
2
CHANGES
2
CHANGES
@@ -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.
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user