mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
assert hevent->rdataset is non NULL
This commit is contained in:
@@ -5704,6 +5704,7 @@ validated(isc_task_t *task, isc_event_t *event) {
|
|||||||
/*
|
/*
|
||||||
* Negative results must be indicated in event->result.
|
* Negative results must be indicated in event->result.
|
||||||
*/
|
*/
|
||||||
|
INSIST(hevent->rdataset != NULL);
|
||||||
if (dns_rdataset_isassociated(hevent->rdataset) &&
|
if (dns_rdataset_isassociated(hevent->rdataset) &&
|
||||||
NEGATIVE(hevent->rdataset)) {
|
NEGATIVE(hevent->rdataset)) {
|
||||||
INSIST(eresult == DNS_R_NCACHENXDOMAIN ||
|
INSIST(eresult == DNS_R_NCACHENXDOMAIN ||
|
||||||
|
Reference in New Issue
Block a user