[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #67103] IGMP for ipv4 Join Allowed From Invalid States
From: |
zmw |
Subject: |
[lwip-devel] [bug #67103] IGMP for ipv4 Join Allowed From Invalid States |
Date: |
Thu, 8 May 2025 00:07:54 -0400 (EDT) |
URL:
<https://savannah.nongnu.org/bugs/?67103>
Summary: IGMP for ipv4 Join Allowed From Invalid States
Group: lwIP - A Lightweight TCP/IP stack
Submitter: zmw12306
Submitted: Thu 08 May 2025 04:07:51 AM GMT
Category: IPv4
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 08 May 2025 04:07:51 AM GMT By: zmw <zmw12306>
The RFC mandates that 'join group' may occur only in Non-Member state.
However, the implementation only logs a debug message but continues execution
when joining from other states.
fix="Add state validation and return ERR_VAL if attempting to join from a
non-Non-Member state",
code_snippet="""
if (group->group_state != IGMP_GROUP_NON_MEMBER) {
LWIP_DEBUGF(IGMP_DEBUG, ("igmp_joingroup_netif: join to group not in state
IGMP_GROUP_NON_MEMBER\n"));
return ERR_VAL; // Add this line to enforce state requirement
}"""
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?67103>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #67103] IGMP for ipv4 Join Allowed From Invalid States,
zmw <=