lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #36167] tcp server crash when client closes (maximum w


From: Joel Cunningham
Subject: [lwip-devel] [bug #36167] tcp server crash when client closes (maximum window)
Date: Mon, 30 Oct 2017 10:22:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #12, bug #36167 (project lwip):

> I'm running this[1] Perl test over lwip with the sockets API and it makes
the stack crash at line #118

What file?  I don't see any LWIP_ASSERT at #118 in tcp.c or tcp_in.c (I'm
looking at git master)

> It also happens the window is full at that moment. The netconn api calls
tcp_recved() for the FIN byte, which overflows the window.

Did you mean window is empty?  pcb->rcv_wnd tracks the remaining available
receive window.  The only way it could overflow is if it was empty at 0xFFFF.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36167>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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