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

test: ensure strings are correctly null-terminated #90

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

SeanMcG
Copy link
Contributor

@SeanMcG SeanMcG commented Dec 31, 2024

Some implementations of strncpy() do not guarantee it.

Some implementations of strncpy() do not guarantee it.
@SeanMcG
Copy link
Contributor Author

SeanMcG commented Dec 31, 2024

I discovered this while fiddling around with the OpenBSD build.

@Galladite27 Galladite27 merged commit 5c8acd3 into Galladite27:master Dec 31, 2024
3 checks passed
@SeanMcG SeanMcG deleted the nullterm-fix branch December 31, 2024 17:34
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