lwIP - A Lightweight TCP/IP stack - Bugs: bug #24032, pbuf realloc wander over the end...
You are not allowed to post comments on this tracker with your current authentication level.
bug #24032: pbuf realloc wander over the end of a linked list
Submitter: | Pasi Kukkonen <pasik> | ||
Submitted: | Mon 11 Aug 2008 07:57:43 AM UTC | ||
Category: | pbufs | Severity: | 3 - Normal |
Item Group: | Crash Error | Status: | Invalid |
Privacy: | Public | Assigned to: | jifl |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.3.0 |
Thu 28 Aug 2008 10:45:34 AM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
Thu 28 Aug 2008 10:04:53 AM UTC, comment #3: Here is comment from my collegue:
|
Pasi Kukkonen <pasik> |
Tue 26 Aug 2008 07:24:21 PM UTC, comment #2: The second part of the patch (for pbuf_header) is simply wrong: you return 0 (= succeeded) when trying to take more of the pbuf than it has -> if anything, returning 1 would be the right thing to do! (which is done by the LWIP_ERROR you commented out)
|
Simon Goldschmidt <goldsimon> |
Tue 19 Aug 2008 02:18:01 AM UTC, comment #1: I don't think this patch seems right.
|
Jonathan Larmour <jifl> |
Mon 11 Aug 2008 07:57:43 AM UTC, original submission:
I'm reporting this bug behalf of colleague:
|
Pasi Kukkonen <pasik> |
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 |
---|---|---|---|---|---|
2008-08-28 | goldsimon | Status | Need Info | Invalid | |
Open/Closed | Open | Closed | |||
2008-08-19 | jifl | Status | None | Need Info | |
Assigned to | None | jifl |
Powered by Savane 3.13-d3ae.
Corresponding source code
Well, since I've included an assert to check the pbuf pointer is not NULL, we can close this.
However, you should try again with an assert to check where the problem comes from: like Jonathan said, it is likely your pbuf chains have been corrupted somewhere else.