If a file with the same name as a standard file name is placed in the search path for included source files, the behavior is undefined.
The standard headers are:
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
Risk Assessment
Using header names that conflict with the C standard library functions can result in not including the intended file.
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
PRE04-A | 1 (low) | 1 (unlikely) | 3 (low) | P3 | L3 |
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
References
Wiki Markup |
---|
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]\] Section 7.1.2, "Standard Headers" |
DCL03 NCCE 1 01. Preprocessor (PRE) PRE05-A. Use parentheses around any macro replacement list containing operators