[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: |
Tue, 5 Jun 2018 05:48:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<http://savannah.nongnu.org/bugs/?54062>
Summary: Inconsequent null pointer checks
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: mhofmann
Submitted on: Tue 05 Jun 2018 09:48:27 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: 2.0.3
_______________________________________________________
Details:
Hey,
how are the rules for null pointer checks? Some functions contain null pointer
checks, some not.
A bug in our software leads to "funny", hard to debug results as a null
pointer traversed over tcp_abort() into the lwip Stack.
Checking the TCP RAW API some function handle null pointer gracefully by
returning an error, some check for null pointer via LWIP_ASSERT, some just use
pointers.
It would be nice if the lwip API function have a common behaviour handling
null pointers.
What are your opinions?
Cheer Matthias
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?54062>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #54062] Inconsequent null pointer checks,
Matthias Hofmann <=
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Jason White, 2018/06/05
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Simon Goldschmidt, 2018/06/06
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Matthias Hofmann, 2018/06/06
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Simon Goldschmidt, 2018/06/06
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Matthias Hofmann, 2018/06/07
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Matthias Hofmann, 2018/06/07
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Jan Breuer, 2018/06/07
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Matthias Hofmann, 2018/06/08
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Jason White, 2018/06/08
- [lwip-devel] [bug #54062] Inconsequent null pointer checks, Matthias Hofmann, 2018/06/08