mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
2097. [bug] named could reference a destroyed memory context
after being reloaded / reconfigured. [RT #16428]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
2097. [bug] named could reference a destroyed memory context
|
||||
after being reloaded / reconfigured. [RT #16428]
|
||||
|
||||
2096. [bug] libbind: handle applications that fail to detect
|
||||
res_init() failures better.
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: resolver.c,v 1.335 2006/08/31 03:56:36 marka Exp $ */
|
||||
/* $Id: resolver.c,v 1.336 2006/10/18 04:18:54 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -2844,8 +2844,7 @@ fctx_join(fetchctx_t *fctx, isc_task_t *task, isc_sockaddr_t *client,
|
||||
clone = NULL;
|
||||
isc_task_attach(task, &clone);
|
||||
event = (dns_fetchevent_t *)
|
||||
isc_event_allocate(fctx->res->buckets[fctx->bucketnum].mctx,
|
||||
clone, DNS_EVENT_FETCHDONE,
|
||||
isc_event_allocate(fctx->res->mctx, clone, DNS_EVENT_FETCHDONE,
|
||||
action, arg, sizeof(*event));
|
||||
if (event == NULL) {
|
||||
isc_task_detach(&clone);
|
||||
|
Reference in New Issue
Block a user