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

Fix wrong argument size passed to --parent-pid strncmp check #1502

Closed
wants to merge 1 commit into from

Conversation

disconnect3d
Copy link
Contributor

This PR fixes wrong size argument passed in strncmp(arg, "--parent-pid", 10) as the "--parent-pid" string has length of 12, so before this change flags like --parent-pXX would also be accepted.

This PR fixes wrong size argument passed in `strncmp(arg, "--parent-pid", 10)` as the `"--parent-pid"` string has length of 12.
@CLAassistant
Copy link

CLAassistant commented Apr 13, 2020

CLA assistant check
All committers have signed the CLA.

@an3l an3l self-assigned this Apr 14, 2020
@an3l an3l added the license-mca Contributed under the MCA label Apr 14, 2020
an3l pushed a commit that referenced this pull request Apr 16, 2020
This PR fixes wrong size argument passed in `strncmp(arg, "--parent-pid", 10)` as the `"--parent-pid"` string has length of 12.

Closes #1502
@an3l
Copy link
Contributor

an3l commented Apr 16, 2020

Thanks @disconnect3d , pushed with 280b158 on 5.5.

@an3l an3l closed this Apr 16, 2020
@an3l an3l added this to the 5.5 milestone Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
license-mca Contributed under the MCA
Development

Successfully merging this pull request may close these issues.

3 participants