lwip/test
Joel Cunningham 50a5d85f45 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
2017-12-18 11:42:13 -06:00
..
fuzz Minor cleanup of FUZZ test Makefile 2016-12-17 10:09:15 +01:00
sockets sockets_stresstest.c: some compile and runtime fixes 2017-11-23 09:19:01 +01:00
unit tcp: handle segmentation oversize during segment split (bug #52676) 2017-12-18 11:42:13 -06:00