-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
CWE-479 in CRT.c #1563
Comments
Out of curiosity I asked an AI: Based on the search results, snprintf is not considered async-signal-safe in C. Here’s a breakdown of the reasons:
To work around these issues, consider the following alternatives:
In summary, while snprintf is not inherently async-signal-safe, there are workarounds and alternatives available to ensure safe and reliable signal handling in C programs. |
Since the I mean, will the warning go away if we fix that way? |
This wont do … |
While compiling I noticed the following warning for CWE-479 from GCC 14:
The text was updated successfully, but these errors were encountered: