0

After Six Years Of Work and Over 360 Patches, Linux 7.2 Finally Removes Bug-Prone strncpy - Slashdot

After Six Years Of Work and Over 360 Patches, Linux 7.2 Finally Removes Bug-Prone strncpy - Slashdot slashdot.org
preview

cross-posted from: hexbear.net/post/8833716

In a win for memory safety in Linux, support for the C language “strncpy” function was finally removed from the Linux Kernel! This improves code readability in several hundred places and removes a constant source of error codes and even security vulnerabilities!

Full Tech Times article here, but I found the summary on slashdot easier to understand on first reading.

cross-posted from: hexbear.net/post/8833716

In a win for memory safety in Linux, support for the C language “strncpy” function was finally removed from the Linux Kernel! This improves code readability in several hundred places and removes a constant source of error codes and even security vulnerabilities!

Full Tech Times article here, but I found the summary on slashdot easier to understand on first reading.