
Linux 7.2 removes risky copy function, completing years-long safety overhaul
The Linux operating system has removed a dangerous function called strncpy() that could let data overflow and corrupt memory. A safer replacement, strscpy(), always marks where text ends and signals problems clearly. The cleanup took years and affected thousands of lines of code. Other organizations using this code must do similar updates themselves.
Published