Versions Compared

Key

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

...

Noncompliant Code Example (Using Past the End Index)

Similarly to the #Dereferencing Past the End Pointer ARR30-C. Do not form or use out of bounds pointers or array subscripts error, the function insert_in_table() in the following noncompliant code example uses an otherwise valid index to attempt to store a value in an element just past the end of an array.

...