CWE-469—Use of Pointer Subtraction to Determine Size
PUBLISHEDweakness recordMedium
released 2006-07-19 · last modified 2025-12-11
Metadata
名称
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.