[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #20595] LWIP IGMP ignores IGMP v3 packets
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [bug #20595] LWIP IGMP ignores IGMP v3 packets |
Date: |
Thu, 26 Jul 2007 16:32:32 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5 |
Follow-up Comment #2, bug #20595 (project lwip):
This test ...
if (pbuf_header(p, -hlen) || (p->tot_len < sizeof(u16_t)*2)) {
should be ...
if (pbuf_header(p, -hlen)) {
since there is after...
if (p->len < IGMP_MINLEN)
which is more "sure" since even if p->tot_len==5, the frame which be dropped.
Last, I think it miss a "pbuf_free(p);" in this first part.
I propose you the patch I join. Can you tell me if it's good for you?
(file #13482)
_______________________________________________________
Additional Item Attachment:
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20595>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/