lwIP - A Lightweight TCP/IP stack - Bugs: bug #41318, Bad memory ref in tcp_input()...
You are not allowed to post comments on this tracker with your current authentication level.
bug #41318: Bad memory ref in tcp_input() after tcp_close()
| Submitter: | Per Ekman <perekman> | ||
| Submitted: | Thu 23 Jan 2014 10:17:28 AM UTC | ||
| Category: | TCP | Severity: | 3 - Normal |
| Item Group: | Crash Error | Status: | Fixed |
| Privacy: | Public | Assigned to: | goldsimon |
| Open/Closed: | Closed | Planned Release: | None |
| lwIP version: | 1.4.1 | ||
|
Sat 21 Mar 2015 08:19:48 PM UTC, comment #3: |
Simon Goldschmidt <goldsimon> |
|
Thu 13 Feb 2014 07:55:08 AM UTC, comment #2: Or tcp_close() shouldn't do the equivalent of an abort
|
Per Ekman <perekman> |
|
Fri 07 Feb 2014 01:01:23 PM UTC, comment #1: Relevant comment on lwip-devel on 2014-01-24:
|
Simon Goldschmidt <goldsimon> |
|
Thu 23 Jan 2014 10:17:28 AM UTC, original submission:
Hello,
From: Per Ekman <address@hidden>
|
Per Ekman <perekman> |
No files currently attached
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-03-21 | goldsimon | Status | None | Fixed | |
| Assigned to | None | goldsimon | |||
| Open/Closed | Open | Closed | |||
| 2014-01-23 | perekman | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.12.
Corresponding source code

Re last comment:
The way the patch does it is not a good one since the next timer event can be too late when short in pcbs.
I've fixed it by letting tcp_close_shutdown check for tcp_input_pcb and delaying deallocation via TF_CLOSED.