From: Ralph Dolmans Date: Mon, 12 Feb 2018 12:22:29 +0000 (+0000) Subject: - Fix the ce_len+2 fix (Aggressive NSEC review) X-Git-Tag: release-1.7.0rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8449dc1b9d2b0f585d34d551f516853209b88b18;p=thirdparty%2Funbound.git - Fix the ce_len+2 fix (Aggressive NSEC review) git-svn-id: file:///svn/unbound/trunk@4530 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/validator/val_neg.c b/validator/val_neg.c index 5c42edfe0..25aaaa61e 100644 --- a/validator/val_neg.c +++ b/validator/val_neg.c @@ -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;