Versions Compared

Key

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

...

However, this noncompliant code example violates recommendation INT01-C. Use rsize_t or size_t for all integer values representing the size of an object. There is also a possibility that (index + 1) could result in a signed integer overflow in violation of rule INT32-C. Ensure that operations on non-atomic signed integers do not result in overflow.

...