fixed bug #40788 "lwip_setsockopt_internal() crashes" by rewriting set/getsockopt functions to combine checks with the actual code and add more NULL checks; this also fixes that CORE_LOCKING used message passing for set/getsockopt.

This commit is contained in:
sg
2015-01-17 14:18:27 +01:00
parent 1cbd2121e2
commit 5d2e93e5f0
4 changed files with 292 additions and 602 deletions

View File

@@ -147,6 +147,12 @@ HISTORY
++ Bugfixes:
2015-01-17: Simon Goldschmidt
* sockets.c/.h, memp_std.h: fixed bug #40788 "lwip_setsockopt_internal() crashes"
by rewriting set/getsockopt functions to combine checks with the actual code
and add more NULL checks; this also fixes that CORE_LOCKING used message
passing for set/getsockopt.
2014-12-19: Simon Goldschmidt
* opt.h, dhcp.h/.c: prevent dhcp from starting when netif link is down (only
when LWIP_DHCP_CHECK_LINK_UP==1, which is disabled by default for