From: Mark Andrews Date: Wed, 20 Feb 2019 00:45:36 +0000 (+1100) Subject: assert hevent->rdataset is non NULL X-Git-Tag: v9.15.0~90^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d8d04edfba54df9a21ef87d4b0ae63a8e81fae2d;p=thirdparty%2Fbind9.git assert hevent->rdataset is non NULL --- diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 184cba1036e..cd0c8f84c33 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -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 ||