From ecef45bf18bfe038d054b1644c0718ac599188bb Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Wed, 12 Mar 2025 16:39:36 +0100 Subject: [PATCH] Fix CID 544147 Assigning value "NULL" to "newstr", but that stored value is overwritten before it can be used. Setting "newstr" to NULL does not have any effect, so the line can safely be removed. --- bin/named/controlconf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/named/controlconf.c b/bin/named/controlconf.c index 5f792d76c2..d01a91a8b1 100644 --- a/bin/named/controlconf.c +++ b/bin/named/controlconf.c @@ -736,7 +736,6 @@ controlkeylist_fromcfg(const cfg_obj_t *keylist, isc_mem_t *mctx, key->secret.length = 0; ISC_LINK_INIT(key, link); ISC_LIST_APPEND(*keyids, key, link); - newstr = NULL; } }