Andreas Dinter wrote:
>   ../../../lwIp/src/core/ipv4/ip4_frag.c:327:16: warning: potential null 
> pointer dereference [-Wnull-dereference]
> This refers to this line: prev->next = ipr->next;

As far as I can tell, that line does not match any released versions of lwIP.

> In function:              ip_reass_dequeue_datagram()
> I am using version 6.3.1 of GGC.
> Can you please comment on this warning?

To me this warning seems invalid. At least with the current version, 'ipr' has 
been dereferenced before in all calling code paths and 'prev' is checked via an 
assert.

Simon

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to