...
| CERT C++ Secure Coding Standard | ARR36-CPP. Do not subtract or compare two pointers or iterators that do not refer to the same array or container |
| ISO/IEC TS 17961 | Subtracting or comparing two pointers that do not refer to the same array [ptrobj] |
| MITRE CWE | CWE-469, Use of pointer subtraction to determine size |
...