Skip to content

Commit

Permalink
pim6d: Fixing coverity issues for pim6_mld.c
Browse files Browse the repository at this point in the history
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 <mrasool@vmware.com>
  • Loading branch information
mobash-rasool committed Sep 16, 2022
1 parent a05ae6c commit 5784a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pimd/pim6_mld.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5784a87

Please sign in to comment.