...
Wiki Markup |
---|
In the following code example, the variadic function {{average()}} calculates the average value of the positive integer arguments passed to the function \[[Seacord 2005c|AA. Bibliography#Seacord 05c]\]. The function processes arguments until it encounters an argument with the value of {{va_eol}} ({{\-1}}). |
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Bibliography
Related Guidelines
\[[ISO/IEC 9899:1999|AA. Bibliography#ISO/IEC 9899-1999]\] Section 7.15, "Variable arguments," and Section 7.19.6.8, "The {{ Wiki Markup vfprintf
}} function"
\[[
ISO/IEC PDTR 24772|AA. Bibliography#ISO/IEC PDTR 24772]\] TR 24772 "OTR Subprogram Signature Mismatch" \[[MISRA 2004|AA. Bibliography#MISRA 04]\] Rule
MISRA Rule 16.1
MITRE CWE: CWE-628, "Function Call with Incorrectly Specified Arguments"
Bibliography
Wiki Markup |
---|
\[[MITRE 2007|AA. Bibliography#MITRE 07]\] [CWE ID 628|http://cwe.mitre.org/data/definitions/628.html], "Function Call with Incorrectly Specified Arguments"
\[[Seacord 2005c|AA. Bibliography#Seacord 05c]\] |
...