2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

1561. [bug] It was possible to release the same name twice if

named ran out of memory. [RT #10197]
This commit is contained in:
Mark Andrews
2004-01-21 15:44:24 +00:00
parent 26cca757be
commit 9cf0970f43
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
1561. [bug] It was possible to release the same name twice if
named ran out of memory. [RT #10197]
1560. [port] FreeBSD: work around FreeBSD 5.2 mapping EAI_NODATA 1560. [port] FreeBSD: work around FreeBSD 5.2 mapping EAI_NODATA
and EAI_NONAME to the same value. and EAI_NONAME to the same value.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: query.c,v 1.249 2004/01/14 02:06:48 marka Exp $ */ /* $Id: query.c,v 1.250 2004/01/21 15:44:24 marka Exp $ */
#include <config.h> #include <config.h>
@@ -1675,6 +1675,7 @@ query_addbestns(ns_client_t *client) {
query_keepname(client, fname, dbuf); query_keepname(client, fname, dbuf);
zdb = db; zdb = db;
zfname = fname; zfname = fname;
fname = NULL;
zrdataset = rdataset; zrdataset = rdataset;
rdataset = NULL; rdataset = NULL;
zsigrdataset = sigrdataset; zsigrdataset = sigrdataset;
@@ -2678,6 +2679,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
query_keepname(client, fname, dbuf); query_keepname(client, fname, dbuf);
zdb = db; zdb = db;
zfname = fname; zfname = fname;
fname = NULL;
zrdataset = rdataset; zrdataset = rdataset;
rdataset = NULL; rdataset = NULL;
zsigrdataset = sigrdataset; zsigrdataset = sigrdataset;