|
|
|
|
|
by metajack
2057 days ago
|
|
Diane wrote an analysis of how many bugs would have been avoided had the Servo style system been in Gecko all along:
https://hacks.mozilla.org/2019/02/rewriting-a-browser-compon... "There’s a significant overlap between memory vulnerabilities and severe security problems. Of the 34 critical/high bugs, 32 were memory-related." Rust doesn't fix everything, and this result won't hold for code that is itself security logic (ie, crypto implementation) as logic errors are also very bad. But fixing memory safety does address almost all the high and critical severity issues. Microsoft published similar research: https://msrc-blog.microsoft.com/2019/07/18/we-need-a-safer-s... Keep in mind that the Gecko style system has had two decades of work before the Rust code came along, and was written by some excellent programmers. It was extensively fuzzed for years. And still, Rust has enormous potential to solve these security issues. Only time will tell if the next decade with Rust will pan out as the data seem to predict, but I am quite hopeful. |
|