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

Warning on 'sprintf' while compiling. #60

Closed
ernestguillem opened this issue Nov 22, 2022 · 1 comment
Closed

Warning on 'sprintf' while compiling. #60

ernestguillem opened this issue Nov 22, 2022 · 1 comment

Comments

@ernestguillem
Copy link

While compiling picotool with macOS I get the following warning:
warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]

Is this kept for compatibility reasons or would it be ok to submit a pullrequest with the snprintf variant?

@ernestguillem
Copy link
Author

I see the pull request for issue #57 will fix that once it's merged.

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

1 participant