lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #20253] "p->payload == iphdr" assertion in udp.c


From: Petr Cernin
Subject: [lwip-devel] [bug #20253] "p->payload == iphdr" assertion in udp.c
Date: Mon, 25 Jun 2007 15:42:47 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

URL:
  <http://savannah.nongnu.org/bugs/?20253>

                 Summary: "p->payload == iphdr" assertion in udp.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: cerninp
            Submitted on: Monday 06/25/07 at 15:42
                Category: UDP
                Severity: 3 - Normal
              Item Group: Crash Error
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This assertion appears every time when udp message is received and
destination port is unreachable. There is a little bug in udp.c:

line 259 (udp.c):
  pbuf_header(p, (IPH_HL(iphdr) * 4));
  LWIP_ASSERT("p->payload == iphdr", (p->payload == iphdr));

there should be:
  pbuf_header(p, (IPH_HL(iphdr) * 4) + UDP_HLEN);
  LWIP_ASSERT("p->payload == iphdr", (p->payload == iphdr));




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20253>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]