lwIP - A Lightweight TCP/IP stack - Bugs: bug #62857, sendmsg(), if called with last...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62857: sendmsg(), if called with last item in msg_iov array to have .iov_len=0, build pbuf chain which cannot be cloned
Submitter: | Alex Riesen <raalkml> | ||
Submitted: | Wed 03 Aug 2022 11:03:40 AM UTC | ||
Category: | sockets/netconn | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | 2.1.0 |
Thu 12 Oct 2023 12:31:40 PM UTC, comment #2: |
Alex Riesen <raalkml> |
Wed 11 Oct 2023 08:25:38 PM UTC, comment #1: From the description below, I'm tempted to change pbuf_clone() to just skip zero-sized pbufs (if anything has been copied yet). I guess that would be enough to fix this? |
Simon Goldschmidt <goldsimon> |
Wed 03 Aug 2022 11:03:40 AM UTC, original submission:
Hi,
|
Alex Riesen <raalkml> |
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.
Powered by Savane 3.13-bb6a.
Corresponding source code
comment #1:
I think so. Maybe also change pbuf_clone to not ignore pbuf_copy errors? (Free the allocated pbuf and return NULL)