We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When calling NTP.begin() on client that was previously stopped with NTP.stop(), the device crashes.
NTP.begin()
NTP.stop()
NTPClient::stop only deallocates udp handle using udp_remove, but the pointer is not set to NULL.
NTPClient::stop
udp
udp_remove
ESPNtpClient/src/ESPNtpClient.h
Lines 400 to 402 in 2666fd8
This causes the subsequent NTPClient::begin call to crash because of calling udp functions on deallocated udp_pcb
NTPClient::begin
ESPNtpClient/src/ESPNtpClient.cpp
Lines 174 to 179 in 2666fd8
Thanks for creating a really helpful library! Tomasz
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When calling
NTP.begin()
on client that was previously stopped withNTP.stop()
, the device crashes.NTPClient::stop
only deallocatesudp
handle usingudp_remove
, but the pointer is not set to NULL.ESPNtpClient/src/ESPNtpClient.h
Lines 400 to 402 in 2666fd8
This causes the subsequent
NTPClient::begin
call to crash because of calling udp functions on deallocated udp_pcbESPNtpClient/src/ESPNtpClient.cpp
Lines 174 to 179 in 2666fd8
Thanks for creating a really helpful library!
Tomasz
The text was updated successfully, but these errors were encountered: