lwIP - A Lightweight TCP/IP stack - Patches: patch #9536, netif: Prevent possible NULL...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9536: netif: Prevent possible NULL pointer dereference in netif_set_addr
Submitter: | Axel Lin <axellin> | ||
Submitted: | Tue 09 Jan 2018 03:42:20 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Planned Release: | None |
Tue 09 Jan 2018 06:53:09 AM UTC, comment #1: |
Dirk Ziegelmeier <dziegel> |
Tue 09 Jan 2018 03:42:20 AM UTC, original submission:
Pass NULL to ip4_addr_cmp() can result in NULL pointer dereference.
|
Axel Lin <axellin> |
Attached Files
file #42871: 0001-netif-Prevent-possible-NULL-pointer-dereference-in-n.patch added by axellin (1KiB - text/x-patch)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-01-09 | dziegel | Status | None | Done | |
Open/Closed | Open | Closed | |||
2018-01-09 | axellin | Attached File | - | Added 0001-netif-Prevent-possible-NULL-pointer-dereference-in-n.patch, #42871 |
Powered by Savane 3.13-758e.
Corresponding source code
Applied in a modified way - I replace the NULL pointer by IP4_ADDR_ANY4. This way, subsequent functions do not need to deal with NULL pointers any more. Maybe some time in the future we can remove the NULL pointer checks in the code altogether