Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Other Languages

This rule appears in the C++ Secure Coding Standard as MSC21-C. Use inequality to terminate a loop whose counter changes by more than one.

References

Wiki Markup
\[[MISRA 04|AA. C References#MISRA 04]\]

...