- Fix qname minimisation NXDOMAIN validation lookup failures causing

error_supers assertion fails.


git-svn-id: file:///svn/unbound/trunk@4780 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-07-16 10:21:34 +00:00
parent 4bf9d12419
commit 8aa53f027d
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
16 July 2018: Wouter
- Fix qname minimisation NXDOMAIN validation lookup failures causing
error_supers assertion fails.
12 July 2018: Wouter 12 July 2018: Wouter
- Fix to improve systemd socket activation code file descriptor - Fix to improve systemd socket activation code file descriptor
assignment. assignment.

View file

@ -230,11 +230,12 @@ error_supers(struct module_qstate* qstate, int id, struct module_qstate* super)
qstate->qinfo.qname, qstate->qinfo.qname_len); qstate->qinfo.qname, qstate->qinfo.qname_len);
if(!dpns) { if(!dpns) {
/* not interested */ /* not interested */
/* this can happen, for eg. qname minimisation asked
* for an NXDOMAIN to be validated, and used qtype
* A for that, and the error of that, the name, is
* not listed in super_iq->dp */
verbose(VERB_ALGO, "subq error, but not interested"); verbose(VERB_ALGO, "subq error, but not interested");
log_query_info(VERB_ALGO, "superq", &super->qinfo); log_query_info(VERB_ALGO, "superq", &super->qinfo);
if(super_iq->dp)
delegpt_log(VERB_ALGO, super_iq->dp);
log_assert(0);
return; return;
} else { } else {
/* see if the failure did get (parent-lame) info */ /* see if the failure did get (parent-lame) info */