From: Mark Andrews Date: Sun, 21 Jan 2018 22:47:53 +0000 (+1100) Subject: silence clang static analyser warning. [RT #46881] X-Git-Tag: v9.13.0~245 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=af034ef1887e95ca146db98889848dc0bcecc529;p=thirdparty%2Fbind9.git silence clang static analyser warning. [RT #46881] --- diff --git a/lib/ns/query.c b/lib/ns/query.c index 492d716f506..165dedaa1a4 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,