You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parseInt can get caught in a loop if called on a buffer with no integers remaining . Which causes peekNextDigit to continue to loop.
peek() should probably check if there is any data left and return -1 otherwise.
WiFiUdp.cpp:
int WiFiUDP::peek()
{
if (!_ctx)
return 0;
return _ctx->peek();
}
Possibly change to:
int WiFiUDP::peek()
{
if (!_ctx || !available())
return -1;
return _ctx->peek();
}
The text was updated successfully, but these errors were encountered:
parseInt can get caught in a loop if called on a buffer with no integers remaining . Which causes peekNextDigit to continue to loop.
peek() should probably check if there is any data left and return -1 otherwise.
WiFiUdp.cpp:
Possibly change to:
The text was updated successfully, but these errors were encountered: