lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #43081] The crash error for the active LWIP_NETBUF_REC


From: Joel Cunningham
Subject: [lwip-devel] [bug #43081] The crash error for the active LWIP_NETBUF_RECVINFO option in api_msg.c (lwip-1.4.1)
Date: Wed, 27 Aug 2014 13:42:26 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36

Follow-up Comment #4, bug #43081 (project lwip):

Why not use the correct type in the cast?

const struct udp_hdr* udphdr = (const struct udp_hdr*)(((char* )iphdr) +
(IPH_HL(iphdr) * 4));

I'm actually not sure what the (void) did in the original code, nothing?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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