esp-idf/components/lwip/apps
David Cermak 42594bffe4 lwip/sntp: Fix esp_sntp_ API races (v5.0)
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 11:09:56 +01:00
..
dhcpserver Fixed bug for dhcp server support CIDR 2023-03-15 16:20:33 +08:00
ping Icmp: get tos parameter in icmp reply 2022-07-05 11:37:41 +08:00
sntp lwip/sntp: Fix esp_sntp_ API races (v5.0) 2023-03-21 11:09:56 +01:00