The Linux Kernel Eliminated This Entire C Function
After 6 years and 362 commits, a legacy C function is gone • The catastrophic risk of missing null terminators • Why the old standard was inefficient and prone
Video Chapters
- 0:05 After 6 years and 362 commits, a legacy C function is gone
- 1:32 The catastrophic risk of missing null terminators
- 2:55 Why the old standard was inefficient and prone to errors
- 4:03 The flawed evolution from strcpy to strncpy
- 5:47 How the Kernel is implementing safe string wrappers
- 6:53 Why many standard "n" functions are just as dangerous
- 8:09 The surprising flaws in "modern" string alternatives
- 9:04 Why manual buffer sizing is a recipe for disaster
- 10:58 Why cleaning up legacy code is essential for security