From a447fa96494b785ae5e9587e292c8888a4b9cb8b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 25 Oct 2016 08:16:09 -0400 Subject: [PATCH] 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 --- pimd/pim_igmpv2.c | 2 -- 1 file changed, 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 -- 2.39.5