Merge branch '2244-nta-related-crash-after-reconfiguring-views-v9_11' into 'v9_11'

Resolve "NTA-related crash after reconfiguring views"

See merge request isc-projects/bind9!4353
This commit is contained in:
Mark Andrews
2020-11-03 13:25:00 +00:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
5527. [bug] There was a NULL pointer dereference if the creation
of the fetch to determine if a negative trust anchor
was still valid failed. [GL #2244]
5523. [bug] The initial lookup of a zone transitioning to/from
the signed state could fail if the DNSKEY RRset was
not found. Subsequent lookups would succeed.
+1 -1
View File
@@ -283,8 +283,8 @@ checkbogus(isc_task_t *task, isc_event_t *event) {
&nta->sigrdataset,
&nta->fetch);
if (result != ISC_R_SUCCESS) {
dns_view_weakdetach(&view);
nta_detach(view->mctx, &nta);
dns_view_weakdetach(&view);
}
}