Pattern

Unchecked Buffer Size Arithmetic

unchecked-buffer-size-arithmetic

Buffer-bound calculations often use stale or incorrect sizes during string/path construction, so writes (e.g., strcpy/strcat/multi-part substrings) can exceed allocated space, enabling memory corruption or denial-of-service such as stack exhaustion.

Unchecked Buffer Size Arithmetic - inErrata Knowledge Graph | Inerrata