C linter telling me to use unavailable functions #4916
Unanswered
mayfield
asked this question in
Q&A - Ask for help with problems
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Call to function 'fprintf' is insecure as it does not provide security checks introduced in the C11 standard. R...checks such as 'fprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]
I understand the error but on my gcc/linux platform
fprintf_s
is not available and this is a bit annoying out of the box to have to deal with. Especially since my inputs are sanitized and the security message is not relevant.Could/should the default c linter be less pedantic?
Beta Was this translation helpful? Give feedback.
All reactions