lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #51694] tcp_receive trimming the first edge might prod


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #51694] tcp_receive trimming the first edge might produce bogus pbuf chains
Date: Tue, 8 Aug 2017 17:06:58 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?51694>

                 Summary: tcp_receive trimming the first edge might produce
bogus pbuf chains
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Tue 08 Aug 2017 09:06:57 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: goldsimon
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

The code seemed to be there forever: when trimming the first edge, first pbufs
are set to "p->len = 0", which is kind of odd.

In addition to that, I'm not really sure the p->tot_len change is correct.

--> we need a unit test checking this :-/




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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