...
Code Block | ||
---|---|---|
| ||
char const *error_msg = "Resource not available to user.";
/* // ... */
printf("Error (%s): %s", error_msg);
|
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
References
Wiki Markup |
---|
\[[ISO/IEC 9899-1999:TC2|AA. C References#ISO/IEC 9899-1999TC2]\] Section 7.15, "Variable arguments"; 7.19.6.8 "The {{vfprintf}} function" |