diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-25 08:16:09 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:11 -0500 |
| commit | a447fa96494b785ae5e9587e292c8888a4b9cb8b (patch) | |
| tree | 8b8507575b178934721d7a422384e8140a5702cc /pimd/pim_igmpv2.c | |
| parent | 594a78cc8a9f1c4524e3a16fed0e14288e511027 (diff) | |
pimd: Fix uninitialized value
When handling a igmp request, fill in group address before
we attempt to output debug information on it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_igmpv2.c')
| -rw-r--r-- | pimd/pim_igmpv2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_igmpv2.c b/pimd/pim_igmpv2.c index 4f005f0195..975ff9faa1 100644 --- a/pimd/pim_igmpv2.c +++ b/pimd/pim_igmpv2.c @@ -169,8 +169,6 @@ igmp_v2_recv_leave (struct igmp_sock *igmp, from_str, ifp->name, group_str); } - memcpy(&group_addr, igmp_msg + 4, sizeof(struct in_addr)); - /* * RFC 3376 * 7.3.2. In the Presence of Older Version Group Members |
