lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #54062] Inconsequent null pointer checks


From: Matthias Hofmann
Subject: [lwip-devel] [bug #54062] Inconsequent null pointer checks
Date: Wed, 13 Jun 2018 04:01:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #16, bug #54062 (project lwip):

There are multiple functions that dereference pointer arguments without
checking them:

netif.c
- netif_set_ipaddr
- netif_set_gw
- netif_set_netmask

tcp_out.c
- tcp_output_alloc_header
- tcp_send_fin
- tcp_build_wnd_scale_option
- tcp_send_empty_ack

If for these function NULL is explicitly allowed, they need to be modified.
Currently they will crash if NULL is used as argument.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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