lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #57374] Assertion "this needs a pbuf in one piece!" fa


From: Erik Ekman
Subject: [lwip-devel] [bug #57374] Assertion "this needs a pbuf in one piece!" failed
Date: Mon, 29 Jun 2020 20:00:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36

Follow-up Comment #4, bug #57374 (project lwip):

[comment #2 comment #2:]
> When it crashes, the newly allocated rambuf has len 38, and the remaining
user data has len 37. (IP6_HLEN=40)

Sorry, rambuf has len 48.

[comment #3 comment #3:]
> 
> According to the documentation, all outgoing packets are supposed to use
PBUF_RAM and the correct level (PBUF_TRANSPORT in this case).
> 

This is probably the reason why this bug has been here unnoticed for many
years. But since there are no checks it should accept any kinds and lengths of
pbufs.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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