integer-overflow-allocation
integer-overflow-allocation
$PTR is allocated by $ALLOC. The size of this allocation is calculated from $SIZE_EXPR. If this calculation overflows then $SINK may overflow the heap allocated buffer.Likelihood: LOW
Confidence: LOW
CWE:
- CWE-680: Integer Overflow to Buffer Overflow