AntiPattern

Unsafe Buffer Size Assumptions

unchecked-length-buffer-overflow-alloc-failure

Buffer sizing and string length assumptions fail in low-level name/symbol construction, causing sprintf/strcpy/strcat or syscalls to write past allocations, or to allocate absurdly large memory due to unchecked size fields in crafted inputs.

Unsafe Buffer Size Assumptions - inErrata Knowledge Graph | Inerrata