mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +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
|
2096. [bug] libbind: handle applications that fail to detect
|
||||||
res_init() failures better.
|
res_init() failures better.
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/*! \file */
|
||||||
|
|
||||||
@@ -2844,8 +2844,7 @@ fctx_join(fetchctx_t *fctx, isc_task_t *task, isc_sockaddr_t *client,
|
|||||||
clone = NULL;
|
clone = NULL;
|
||||||
isc_task_attach(task, &clone);
|
isc_task_attach(task, &clone);
|
||||||
event = (dns_fetchevent_t *)
|
event = (dns_fetchevent_t *)
|
||||||
isc_event_allocate(fctx->res->buckets[fctx->bucketnum].mctx,
|
isc_event_allocate(fctx->res->mctx, clone, DNS_EVENT_FETCHDONE,
|
||||||
clone, DNS_EVENT_FETCHDONE,
|
|
||||||
action, arg, sizeof(*event));
|
action, arg, sizeof(*event));
|
||||||
if (event == NULL) {
|
if (event == NULL) {
|
||||||
isc_task_detach(&clone);
|
isc_task_detach(&clone);
|
||||||
|
Reference in New Issue
Block a user