A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
1
cwe_id
122
name
Heap-based Buffer Overflow
description
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().