esp-idf/components/lwip/apps
David Cermak 079611dd16 lwip/sntp: Fix esp_sntp_ API races (v4.4)
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().

Closes https://github.com/espressif/esp-idf/issues/10611
2023-03-21 10:31:25 +01:00
..
dhcpserver dhcp server:bugfix softap excedes the range of subnet 2023-03-14 18:45:43 +08:00
ping Icmp: get tos parameter in icmp reply 2022-07-11 20:24:18 +08:00
sntp lwip/sntp: Fix esp_sntp_ API races (v4.4) 2023-03-21 10:31:25 +01:00