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.dduu

Related Guidelines

SEI CERT C++ Coding StandardCTR54-CPP. Do not subtract iterators that do not refer to the same container
ISO/IEC TS 17961

Subtracting or comparing two pointers that do not refer to the same array [ptrobj]

MITRE CWECWE-469, Use of Pointer Subtraction to Determine Size

...