lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #62857] sendmsg(), if called with last item in msg_iov


From: Alex Riesen
Subject: [lwip-devel] [bug #62857] sendmsg(), if called with last item in msg_iov array to have .iov_len=0, build pbuf chain which cannot be cloned
Date: Thu, 12 Oct 2023 08:31:40 -0400 (EDT)

Follow-up Comment #2, bug #62857 (project lwip):

[comment #1 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?

I think so. Maybe also change pbuf_clone to not ignore pbuf_copy errors? (Free
the allocated pbuf and return NULL)


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?62857>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]