+3425. [bug] "acacheentry" reference counting was broken resulting
+ in use after free. [RT #31908]
+
3424. [func] dnssec-dsfromkey now emits the hash without spaces.
[RT #31951]
INSIST(acarray[count].cbarg == cbarg);
isc_mem_put(rbtdb->common.mctx, cbarg, sizeof(acache_cbarg_t));
acarray[count].cbarg = NULL;
+ dns_acache_detachentry(&entry);
} else
isc_mem_put(rbtdb->common.mctx, cbarg, sizeof(acache_cbarg_t));
- dns_acache_detachentry(&entry);
-
NODE_UNLOCK(nodelock, isc_rwlocktype_write);
dns_db_detachnode((dns_db_t *)rbtdb, (dns_dbnode_t **)(void*)&rbtnode);
acache_callback, newcbarg, &newentry);
if (result != ISC_R_SUCCESS)
goto fail;
+
/* Set cache data in the new entry. */
result = dns_acache_setentry(acache, newentry, zone, db,
version, node, fname);