Commit 09f9f10e authored by Evan Hunt's avatar Evan Hunt
Browse files

Merge branch '890-assert-the-hevent-rdataset-is-non-null-v9_11' into 'v9_11'

Resolve "Assert the hevent->rdataset is non-NULL."

See merge request !1694
parents be1dc0d8 25268aaf
Pipeline #12017 passed with stages
in 1 minute and 5 seconds
......@@ -5214,6 +5214,7 @@ validated(isc_task_t *task, isc_event_t *event) {
/*
* Negative results must be indicated in event->result.
*/
INSIST(hevent->rdataset != NULL);
if (dns_rdataset_isassociated(hevent->rdataset) &&
NEGATIVE(hevent->rdataset)) {
INSIST(eresult == DNS_R_NCACHENXDOMAIN ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment