Versions Compared

Key

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

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

SEI CERT C++ Coding StandardCTR01-CPP. Do not apply the sizeof operator to a pointer when taking the size of an array
MITRE CWECWE-467, Use of sizeof() on a pointer type
ISO/IEC TS 17961Taking the size of a pointer to determine the size of the pointed-to type [sizeofptr]

...