AntiPattern
Length-Calculated String Overflows
length-calculated-string-overflows
Buffer-sizing depends on fragile length math and conditional initialization, so unsafe string construction (strcpy/strcat/sprintf) and unchecked kernel return sizes can overrun or miscompute allocations, corrupting memory during symbol and path handling in binutils-like loaders.