Skip to content

Commit 5784a87

Browse files
committed
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 <[email protected]>
1 parent a05ae6c commit 5784a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pimd/pim6_mld.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ static void gm_t_recv(struct thread *t)
16091609
char rxbuf[2048];
16101610
struct msghdr mh[1] = {};
16111611
struct iovec iov[1];
1612-
struct sockaddr_in6 pkt_src[1];
1612+
struct sockaddr_in6 pkt_src[1] = {};
16131613
ssize_t nread;
16141614
size_t pktlen;
16151615

0 commit comments

Comments
 (0)