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

Use size of destination as third argument of strncpy() #96

Merged
merged 1 commit into from
May 27, 2023

Conversation

szsam
Copy link
Contributor

@szsam szsam commented May 13, 2023

Calling 'strncpy' with the size of the source buffer as the third argument may result in a buffer overflow.

Calling 'strncpy' with the size of the source buffer as the third
argument may result in a buffer overflow.
@gozfree gozfree merged commit 508b06c into gozfree:master May 27, 2023
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.

2 participants