Versions Compared

Key

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

...

CERT C Secure Coding StandardARR30-C. Do not form or use out-of-bounds pointers or array subscripts
ARR37-C. Do not add or subtract an integer to a pointer to a non-array object
ISO/IEC TR 24772:2013Pointer Casting and Pointer Type Changes [HFC]
Pointer Arithmetic [RVG]
MISRA C:2012Rule 18.1 (required)
Rule 18.2 (required)
Rule 18.3 (required)
Rule 18.4 (advisory)
MITRE CWE

CWE-468, Incorrect Pointer Scaling

...