mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
fixed bug #25695: Segmentation fault in do_writemore()
This commit is contained in:
parent
04df18bcd3
commit
9d5bf57dd9
@ -83,6 +83,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2009-04-18 Simon Goldschmidt
|
||||||
|
* api_msg.c: fixed bug #25695: Segmentation fault in do_writemore()
|
||||||
|
|
||||||
2009-04-15 Simon Goldschmidt
|
2009-04-15 Simon Goldschmidt
|
||||||
* sockets.c: tried to fix bug #23559: lwip_recvfrom problem with tcp
|
* sockets.c: tried to fix bug #23559: lwip_recvfrom problem with tcp
|
||||||
|
|
||||||
|
@ -980,6 +980,8 @@ do_writemore(struct netconn *conn)
|
|||||||
write_finished = 1;
|
write_finished = 1;
|
||||||
conn->write_msg = NULL;
|
conn->write_msg = NULL;
|
||||||
conn->write_offset = 0;
|
conn->write_offset = 0;
|
||||||
|
/* API_EVENT might call tcp_tmr, so reset conn->state now */
|
||||||
|
conn->state = NETCONN_NONE;
|
||||||
}
|
}
|
||||||
err = tcp_output_nagle(conn->pcb.tcp);
|
err = tcp_output_nagle(conn->pcb.tcp);
|
||||||
conn->err = err;
|
conn->err = err;
|
||||||
|
Loading…
Reference in New Issue
Block a user