Commit d8d04edf authored by Mark Andrews's avatar Mark Andrews Committed by Evan Hunt

assert hevent->rdataset is non NULL

parent d27a061f
Pipeline #11985 passed with stages
in 18 minutes and 37 seconds
......@@ -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