lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] Possible NULL pointer dereference if LWIP_NETIF_EXT_STATUS_


From: Axel Lin
Subject: [lwip-devel] Possible NULL pointer dereference if LWIP_NETIF_EXT_STATUS_CALLBACK set
Date: Thu, 4 May 2017 12:03:50 +0800

Below code path can dereference NULL pointer if using netif_add_noaddr which
pass NULL to ipaddr/netmask/gw parameters of netif_add.

netif_add()
  netif_set_addr()
#if LWIP_NETIF_EXT_STATUS_CALLBACK
    ip4_addr_cmp() calls for ipaddr/gw/netmask
#endif



reply via email to

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