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

Replace unsafe C functions like strcpy with safer alternatives #557

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

narskidan
Copy link

Resolves #556

So far I'm just replacing strcpy and sprintf (using snprintf to replace both), but there are others I'd like to replace as well.

Just starting with this because I'd like to be corrected on mistakes I'm making now, before I continue.

I'm able to compile and run with these changes, but maybe there's something I should be testing that I'm not. Please do let me know.

@narskidan narskidan requested a review from a team as a code owner November 17, 2023 21:12
@ashelkovnykov
Copy link
Contributor

Everything seems in order so far. @joemfb @barter-simsum ?

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.

Replace unsafe C functions like strcpy with safer alternatives
2 participants