Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp) v1.0

...

This rule appears in the C++ Secure Coding Standard as ARR02-CPP. Explicitly specify array bounds, even if implicitly defined by an initializer.

...

Bibliography

Wiki Markup
\[[ISO/IEC 9899:1999|AA. Bibliography#ISO/IEC 9899-1999]\] Section 6.7.8, "Initialization"
\[[MITRE 07|AA. Bibliography#MITRE 07]\] [CWE ID 665|http://cwe.mitre.org/data/definitions/665.html], "Incorrect or Incomplete Initialization"

...

      06. Arrays (ARR)      ARR30-C. Guarantee that array indices are within the valid rangeDo not form or use out of bounds pointers or array subscripts