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

sprintf() -> snprintf() #292

Closed
hadley opened this issue Jan 16, 2023 · 2 comments
Closed

sprintf() -> snprintf() #292

hadley opened this issue Jan 16, 2023 · 2 comments

Comments

@hadley
Copy link
Contributor

hadley commented Jan 16, 2023

CRAN is starting crack down on use of sprintf() instead of snprintf() so this would be useful for us.

@evanmiller
Copy link
Contributor

Is it just these three or are there other kinds of forbidden invocations?

https://github.com/search?q=repo%3AWizardMac%2FReadStat%20sprintf&type=code

@hadley
Copy link
Contributor Author

hadley commented Jan 16, 2023

Yeah, those were all I saw. Thanks!

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

No branches or pull requests

2 participants