...
The header stdio.h
defines the BUFSIZ
macro, which expands to an integer constant expression that is the size of the buffer used by the setbuf()
function. This noncompliant code example defeats the purpose of defining BUFSIZ
as a constant by assuming its value in the following expression:
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
...
Bibliography
...
] | Section 6.10, "Preprocessing |
---|
...
Directives," and Section 5.1.1, "Translation |
---|
...
Environment" |
---|
...
[Plum 1985] | Rule 1-5 |