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
Currently cgi_param_multiple() stored the "next iterator" for repeated usage.
When the last CGI parameter is match and fetched, however, we've got a value and "next iteration" is NULL;
subsequently call will redo a fetching from the start, falling into endless loop.
It's typical (if not only) use case:
while ((value = cgi_param_multiple(name)) != NULL) {
// processing here...
}
will cause endless loop when name is found at the end of the CGI parameter list.
The text was updated successfully, but these errors were encountered: