Use of Pointer Subtraction to Determine Size
CWE-469 · Base · Draft
The product subtracts one pointer from another in order to determine size, but this calculation can be incorrect if the pointers do not exist in the same memory chunk.