mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
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 isc-projects/bind9!1543
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.
|
||||
*/
|
||||
INSIST(hevent->rdataset != NULL);
|
||||
if (dns_rdataset_isassociated(hevent->rdataset) &&
|
||||
NEGATIVE(hevent->rdataset)) {
|
||||
INSIST(eresult == DNS_R_NCACHENXDOMAIN ||
|
||||
|
Reference in New Issue
Block a user