lwIP - A Lightweight TCP/IP stack - Patches: patch #8425, netconn_free needs to check...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8425: netconn_free needs to check validity of semaphores
| Submitter: | TabascoEye <tabascoeye> | ||
| Submitted: | Thu 27 Mar 2014 03:41:20 PM UTC | ||
| Category: | sockets/netconn | Priority: | 7 - High |
| Status: | Invalid | Privacy: | Public |
| Assigned to: | goldsimon | Open/Closed: | Closed |
| Planned Release: | None | ||
|
Sun 18 Jan 2015 08:07:52 AM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
|
Thu 27 Mar 2014 03:41:20 PM UTC, original submission:
When a netconn_free() is called a second time on an already free'd netconn, the sys_sem_free(&conn->op_completed); call is being executed without first checking if the sem is still valid.
|
TabascoEye <tabascoeye> |
Depends on the following items: None found
Items that depend on this one: None found
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 4 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2015-01-18 | goldsimon | Status | None | Invalid | |
| Assigned to | None | goldsimon | |||
| Open/Closed | Open | Closed | |||
| 2014-03-27 | tabascoeye | Attached File | - | Added lwip_netcon_free.patch, #31061 |
Powered by Savane 3.12.
Corresponding source code

Checking for a valid op_completed won't help you here: you must not call netconn_free a second time as it calls memp_free on the netconn. And this is obviously not allowed a second time.