- Fix the ce_len+2 fix (Aggressive NSEC review)

git-svn-id: file:///svn/unbound/trunk@4530 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Ralph Dolmans 2018-02-12 12:22:29 +00:00
parent 0648475a66
commit 8449dc1b9d

View file

@ -1527,7 +1527,7 @@ val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo,
wc_ce[1] = (uint8_t)'*';
memmove(wc_ce+2, ce, ce_len);
wc_qinfo.qname = wc_ce;
wc_qinfo.qname_len = ce_len += 2;
wc_qinfo.qname_len = ce_len + 2;
wc_qinfo.qtype = qinfo->qtype;