lwip-commits
[Top][All Lists]
Advanced

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

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Joel Cunningham
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-1083-g50a5d85
Date: Mon, 18 Dec 2017 12:46:59 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  50a5d85f458f675165fabf0c2ced7c1e6dd2ae1c (commit)
      from  31c60775b63d2ae98ce57f1cbae289a6932b8645 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50a5d85f458f675165fabf0c2ced7c1e6dd2ae1c
Author: Joel Cunningham <address@hidden>
Date:   Fri Dec 15 12:15:35 2017 -0600

    tcp: handle segmentation oversize during segment split (bug #52676)
    
    This fixes a bug in tcp_split_unsent_seg where oversized segments were not
    handled during the split, leading to pcb->unsent_oversized and
    useg->oversize_left getting out of sync with the split segment
    
    This would result in over-writing the pbuf if another call to tcp_write()
    happened after the split, but before the remainder of the split was sent in
    tcp_output
    
    Now pcb->unsent_oversized is explicitly cleared (because the remainder at
    the tail is never oversized) and useg->oversized_left is cleared after it is
    trimmed
    
    This also updates the test_tcp_persist_split unit test to explicitly check 
for
    this case

-----------------------------------------------------------------------

Summary of changes:
 src/core/tcp_out.c       | 12 +++++++++
 test/unit/tcp/test_tcp.c | 66 ++++++++++++++++++++++++++++--------------------
 2 files changed, 51 insertions(+), 27 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

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