From af034ef1887e95ca146db98889848dc0bcecc529 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 22 Jan 2018 09:47:53 +1100 Subject: [PATCH] silence clang static analyser warning. [RT #46881] --- lib/ns/query.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ns/query.c b/lib/ns/query.c index 492d716f50..165dedaa1a 100644 --- a/lib/ns/query.c +++ b/lib/ns/query.c @@ -8147,6 +8147,8 @@ query_addnxrrsetnsec(query_ctx_t *qctx) { isc_buffer_t *dbuf, b; dns_name_t *fname; + INSIST(qctx->fname != NULL); + if ((qctx->fname->attributes & DNS_NAMEATTR_WILDCARD) == 0) { query_addrrset(client, &qctx->fname, &qctx->rdataset, &qctx->sigrdataset,