CWE-469: Use of Pointer Subtraction to Determine Size
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.
A kind of CWE-682 Incorrect Calculation.
From the CWE List. © The MITRE Corporation.