Skip to content
New issue

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

cgi: fix truncation of pairlist when no query parameters are provided #820

Merged
merged 1 commit into from Apr 4, 2022

Conversation

kaniini
Copy link
Contributor

@kaniini kaniini commented Mar 13, 2021

If no query parameters are provided, paircount will be 0, and the pairlist will be
allocated to a single element array which does not provide sufficient space for its
null terminator.

Signed-off-by: Ariadne Conill ariadne@dereferenced.org

If no query parameters are provided, paircount will be 0, and the pairlist will be
allocated to a single element array which does not provide sufficient space for its
null terminator.

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
@sawolf
Copy link
Member

sawolf commented Apr 4, 2022

Thanks for sending this in - your change looks good to me, and should be merged shortly.

@sawolf sawolf merged commit 86caf57 into NagiosEnterprises:master Apr 4, 2022
sawolf added a commit that referenced this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants