From: Mark Andrews Date: Sat, 30 May 2015 07:37:14 +0000 (+1000) Subject: add INSIST to silence coverity X-Git-Tag: v9.11.0a1~751 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=03089dd4208b0c7eab58d9702bf8a6832802a262;p=thirdparty%2Fbind9.git add INSIST to silence coverity --- diff --git a/lib/dns/opensslrsa_link.c b/lib/dns/opensslrsa_link.c index 886a5a1975e..301e4697104 100644 --- a/lib/dns/opensslrsa_link.c +++ b/lib/dns/opensslrsa_link.c @@ -1401,6 +1401,7 @@ opensslrsa_fromlabel(dst_key_t *key, const char *engine, const char *label, if (tmpengine == NULL) DST_RET(ISC_R_NOMEMORY); colon = strchr(tmpengine, ':'); + INSIST(colon != NULL); *colon = '\0'; } e = dst__openssl_getengine(engine);