[lwip-users] netconn_aborted pointer in api_msg.c

2016-09-27 Thread Gregory . W . Smith
I have found a situation in lwIP STABLE-2_0_0 that can result in dereferencing a bad pointer. In api_msg.c, the function accept_function() posts dummy u8_t pointer &netconn_aborted after an error: if (newpcb == NULL) { /* out-of-pcbs during connect: pass on this error to the application

[lwip-users] bug #49209: netconn_drain() fails to handle 'netconn_aborted' pointer

2016-10-03 Thread Gregory . W . Smith
Hi Simon, Thank you for the fix to Bug #49209 in g0e2354e, Wed Sep 28 12:53:07. I have tried the fix and have the following observations: 1) No hard faults. 2) The call to sys_mbox_free() at the end of netconn_drain() is sometimes failing an assert. My LPCopen/FreeRTOS version of sys_mbox_free() i