]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Annotate false positive uninit_use (CID #1503898) (#4719)
authorJames Jones <jejones3141@gmail.com>
Mon, 12 Sep 2022 23:41:47 +0000 (18:41 -0500)
committerGitHub <noreply@github.com>
Mon, 12 Sep 2022 23:41:47 +0000 (19:41 -0400)
commitf99998b2d6401727002d607afeb25307afa105ea
tree06c86a52966330d8b2d2ac537b86469f8250d641
parent7f3ec8f73513d8a7d334c2706e4610d9c0cf7e5b
Annotate false positive uninit_use (CID #1503898) (#4719)

find is uninitialized and only has a small portion of find.addr.inet
set in fr_redis_cluster_pool_by_node_addr(), but then all of find.addr
is assigned to spare->pending_addr, hence coverity complains. It turna
out, though, that cluster_node_connect() only uses the part that did
get set.
src/lib/redis/cluster.c