|
|
|
|
|
by cakoose
638 days ago
|
|
What happens if we gradually transition to memory-safe languages for new features, while leaving existing code mostly untouched except for bug fixes? ... In the final year of our simulation, despite the growth in memory-unsafe code, the number of memory safety vulnerabilities drops significantly, a seemingly counterintuitive result [...] Why would this be counterintuitive? If you're only touching the memory-unsafe code to fix bugs, it seems obviously that the number of memory-safety bugs will go down. Am I missing something? |
|
It's not as if bug fixes haven't resulted in new memory bugs, but apparently that rate is much lower in bug fixes than it is in brand new code.