lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Potential NULL pointer access in ip4_frag.c


From: Andreas Dinter
Subject: [lwip-users] Potential NULL pointer access in ip4_frag.c
Date: Wed, 26 Apr 2017 09:31:56 +0200

Hi,

When compiling ip4_frag.c with GCC option -Wnull-dereference, it complains with the following warning.

  ../../../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;

In function:              ip_reass_dequeue_datagram()

I am using version 6.3.1 of GGC.

Can you please comment on this warning?

Best regards,

Andreas


reply via email to

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