Commit 25268aaf authored by Mark Andrews's avatar Mark Andrews Committed by Evan Hunt
Browse files

assert hevent->rdataset is non NULL

(cherry picked from commit d8d04edf)
parent be1dc0d8
Pipeline #12013 passed with stages
in 11 minutes and 28 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