referencing fetch context after it's been freed.
[RT #26720]
+3221. [bug] Fixed a potential coredump on shutdown due to
+ referencing fetch context after it's been freed.
+ [RT #26720]
+
--- 9.6-ESV-R6b1 released ---
3218. [security] Cache lookup could return RRSIG data associated with
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: resolver.c,v 1.384.14.36 2011/11/15 21:46:42 each Exp $ */
+/* $Id: resolver.c,v 1.384.14.37 2011/11/23 22:51:50 each Exp $ */
/*! \file */
* so, destroy the fctx.
*/
if (SHUTTINGDOWN(fctx) && !sentresponse) {
+ isc_mutex_t *bucketlock =
+ &fctx->res->buckets[fctx->bucketnum].lock;
maybe_destroy(fctx, ISC_TRUE);
- UNLOCK(&fctx->res->buckets[fctx->bucketnum].lock);
+ UNLOCK(bucketlock);
goto cleanup_event;
}