Commit e08e8003 authored by Evan Hunt's avatar Evan Hunt

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

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

Closes #890

See merge request !1543
parents d27a061f d8d04edf
Pipeline #11999 passed with stages
in 1 minute and 1 second
......@@ -5704,6 +5704,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