lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] Possible Bug with IP_IS_V4 definition?


From: antonio
Subject: [lwip-devel] Possible Bug with IP_IS_V4 definition?
Date: Thu, 12 Sep 2019 06:18:49 -0700 (MST)

Hi all,
I might be wrong, but I believe this is a bug in file ip_addr.h with the
definition of IP_IS_V4. 
if ipaddr is NULL, this definition will fail. 

#define IP_IS_V4(ipaddr)              (((ipaddr) == NULL) ||
IP_IS_V4_VAL(*(ipaddr)))
#define IP_IS_V4_VAL(ipaddr)          (IP_GET_TYPE(&ipaddr) ==
IPADDR_TYPE_V4)





--
Sent from: http://lwip.100.n7.nabble.com/lwip-devel-f11621.html



reply via email to

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