...
This noncompliant code example may appear to have 5 iterations, but, in fact, the loop never terminates.
...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
MSC21-C | low | unlikely | low | P1 | L3 |
Automated Detection
...
Tool | Version | Checker | Description | ||
---|---|---|---|---|---|
|
|
|
|
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Other Languages
Related Guidelines
- CERT C+/+ Secure Coding Standard: MSC21-CPP. Use inequality to terminate a loop whose counter changes by more than one
- CERT Oracle Secure Coding Standard for Java: MSC15-J. Use numerical comparison operators to terminate a loop whose counter changes by more than one
Bibliography
Wiki Markup |
---|
\[[MISRA 042004|AA. Bibliography#MISRA 04]\] |
...