Skip to content

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

Merged
gozfree merged 1 commit intogozfree:masterfrom
IVOES:fix-bad-strncpy-size
May 27, 2023
Merged

Use size of destination as third argument of strncpy()#96
gozfree merged 1 commit intogozfree:masterfrom
IVOES:fix-bad-strncpy-size

Conversation

@szsam
Copy link
Copy Markdown
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