From 5784a878112e44401aec0d12bc962887692244f1 Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Fri, 16 Sep 2022 03:11:35 -0700 Subject: [PATCH] pim6d: Fixing coverity issues for pim6_mld.c CID 1519843 (#2 of 2): Uninitialized scalar variable (UNINIT) 43. uninit_use_in_call: Using uninitialized value pkt_src->sin6_addr when calling gm_rx_process Signed-off-by: Mobashshera Rasool --- pimd/pim6_mld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pimd/pim6_mld.c b/pimd/pim6_mld.c index b9c3aec30c..ce5a000d1d 100644 --- a/pimd/pim6_mld.c +++ b/pimd/pim6_mld.c @@ -1609,7 +1609,7 @@ static void gm_t_recv(struct thread *t) char rxbuf[2048]; struct msghdr mh[1] = {}; struct iovec iov[1]; - struct sockaddr_in6 pkt_src[1]; + struct sockaddr_in6 pkt_src[1] = {}; ssize_t nread; size_t pktlen; -- 2.39.5