lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #56397] Assert "tcp_receive: ooseq tcplen > rcv_wnd"


From: David GIRAULT
Subject: [lwip-devel] [bug #56397] Assert "tcp_receive: ooseq tcplen > rcv_wnd"
Date: Mon, 27 May 2019 12:01:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?56397>

                 Summary: Assert "tcp_receive: ooseq tcplen > rcv_wnd"
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: dgirault
            Submitted on: lun. 27 mai 2019 16:01:08 UTC
                Category: TCP
                Severity: 3 - Normal
              Item Group: Crash Error
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

I'm just got the following LWIP_ASSERT() at tcp_in.c:1582 (current master:
b3a93941).

The related code is the same than in STABLE-2_1_x branch.


#if TCP_QUEUE_OOSEQ
        /* We now check if we have segments on the ->ooseq queue that
           are now in sequence. */
        while (pcb->ooseq != NULL &&
               pcb->ooseq->tcphdr->seqno == pcb->rcv_nxt) {

          struct tcp_seg *cseg = pcb->ooseq;
          seqno = pcb->ooseq->tcphdr->seqno;

          pcb->rcv_nxt += TCP_TCPLEN(cseg);
          LWIP_ASSERT("tcp_receive: ooseq tcplen > rcv_wnd\n",
                      pcb->rcv_wnd >= TCP_TCPLEN(cseg));
          pcb->rcv_wnd -= TCP_TCPLEN(cseg);


I cannot do capture since this bug had appeared once in-field to one of our
customers.






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.nongnu.org/




reply via email to

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