Skip to content

cgi_param_multiple() is broken, potentially causing endless loop in actual usage #37

@kennyk-peplink

Description

@kennyk-peplink

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions