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
in bool WebServer::_parseForm(WiFiClient& client, String boundary, uint32_t len) { there is a hard limit of 32 arguments in the form. unfortunately this is not guarded against and leads to silent memory corruption, if a form contains more. The crash will happen some time later at a completely unrelated place in the code.
I think this bug is present ever since in the WebServer also on the ESP8266.
Dynamically expanding the argument array might be overkill, but we could make the upper limit configurable and stop the parser when postArgsLen++ reaches that limit (also logging an error message)?
The text was updated successfully, but these errors were encountered:
in
bool WebServer::_parseForm(WiFiClient& client, String boundary, uint32_t len) {
there is a hard limit of 32 arguments in the form. unfortunately this is not guarded against and leads to silent memory corruption, if a form contains more. The crash will happen some time later at a completely unrelated place in the code.I think this bug is present ever since in the WebServer also on the ESP8266.
Dynamically expanding the argument array might be overkill, but we could make the upper limit configurable and stop the parser when postArgsLen++ reaches that limit (also logging an error message)?
The text was updated successfully, but these errors were encountered: