lwIP - A Lightweight TCP/IP stack - Patches: patch #10121, bug: httpd creates circular linked...
You are not allowed to post comments on this tracker with your current authentication level.
patch #10121: bug: httpd creates circular linked list that causes an infinite loop
Submitter: | Peter Lawrence <majbthrd> | ||
Submitted: | Wed 13 Oct 2021 09:52:03 PM UTC | ||
Category: | Contrib | Priority: | 6 |
Status: | Works For Me | Privacy: | Public |
Assigned to: | goldsimon | Open/Closed: | Closed |
Planned Release: | None |
Thu 12 Oct 2023 07:36:50 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Wed 13 Oct 2021 09:52:03 PM UTC, original submission:
This pertains to the httpd service in ./src/apps/http/httpd.c
|
Peter Lawrence <majbthrd> |
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 |
---|---|---|---|---|---|
2023-10-12 | goldsimon | Status | None | Works For Me | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2021-10-13 | majbthrd | Attached File | - | Added httpd.diff, #52096 |
Powered by Savane 3.13-02a9.
Corresponding source code
I don't get the same problem you observed when connecting via telnet and pressing enter twice: I get two distinct pbufs. I guess you have a problem somewhere with your netif driver that results in getting the same pbuf twice here.
To detect such problems, I've added an assert to pbuf_cat() that h and t are not the same: although that doesn't every loop, it might detect this bug here.
Good luck with finding your actual bug! ;-)