Re:Out-of-bounds read and write in the glibc's qsort()
by jacquesm on Monday February 05, 2024 @04:03PM
(#39267138)
But: they are holding it wrong and it got fixed regardless because if you can fix such stuff you should. For Rust such a CVE is nearly free given the installed base of Rust and the fact that most of that code is fresh and in maintenance. But that definitely isn't true for all of the instances of glibc that are currently deployed.
[ Parent
| on HN ]
Re:Out-of-bounds read and write in the glibc's qsort()
by megous on Monday February 05, 2024 @04:32PM
(#39267519)
Well, a fix in glibc fixed it across the whole system and for all already compiled programs.
Can you say the same for Rust?
Re:Out-of-bounds read and write in the glibc's qsort()
by nequo on Monday February 05, 2024 @05:53PM
(#39268343)
Dynamic linking is something that I would personally like to see in Rustland too.
But parent's point is that some issues that count as a CVE for Rust do not count as such for C/C++ because the boundaries of undefined behavior are drawn elsewhere. This means that there are many fixes that are simply never made for C/C++, even though dynamic linking would make such a counterfactual fix easier to deploy.
Re:Out-of-bounds read and write in the glibc's qsort()
by megous on Tuesday February 06, 2024 @07:35AM
(#39273538)
Parent point was that such CVE could be fixed in Rust super cheaply (free) because code is maintained.
If I have to reinstall the whole system to fix CVE in Rust stdlib in a brave new world where everything is written in Rust, then it's certainly not free fix.