AntiPattern
Buffer Size Trust Failures
buffer-size-trust-failures
Buffer capacity assumptions get violated because code uses incorrect length checks or flawed substring/concat sizing (e.g., getcwd return size, strlen-based allocations, post-length underflow), leading to overwrites, stack exhaustion, or corrupted symbol/name generation.