Versions Compared

Key

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

...

SEI CERT C++ Coding StandardVOID EXP08-CPP. Ensure pointer arithmetic is used correctly
ISO/IEC TR 24772:2013Pointer Casting and Pointer Type Changes [HFC]
Pointer Arithmetic [RVG]
ISO/IEC TS 17961Forming or using out-of-bounds pointers or array subscripts [invptr]
MISRA C:2012Rule 18.1 (required)
Rule 18.2 (required)
Rule 18.3 (required)
Rule 18.4 (advisory)
MITRE CWECWE-468, Incorrect pointer scaling

...

[Dowd 2006]Chapter 6, "C Language Issues"
[Murenin 2007] 

 

...

Image Modified Image Modified Image Modified