lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #57790] Fragmented UDP packets leads to crash on reass


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #57790] Fragmented UDP packets leads to crash on reassembly
Date: Wed, 12 Feb 2020 04:25:36 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #5, bug #57790 (project lwip):

> Yes. My app is single threaded. The public example happened to be multi.

Your app is not the only thing that can cause problems. It's mainly the port
(are interrupts used, how are timers executed, do interrupts call into lwIP
code, etc) that causes problems.

As to the read/write of memory: lwIP *does* write into the payload of received
packets. They are *not* readonly. TCP does that (there's a bug that this might
need to be changed) and IPv4 reassembly does that, too: it stores reassembly
information in the pbuf where the IP header would be (after copying the header
once). 

So this might be the fault you're seeing.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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