-
Notifications
You must be signed in to change notification settings - Fork 24
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
format-security warnings #5
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeing many of these warnings due to using a non-literal string as 2nd argument to send_to_char.
It's important to resolve these since if somehow the non-literal string has format specifiers, bad stuff can happen.
Simple resolution would be to use "%s" as the format arg and pass the current format arg after that.
Otherwise it may be useful to have separate send_to_char and sendf_to_char functions in the future.
The text was updated successfully, but these errors were encountered: