|
|
|
|
|
by simonask
606 days ago
|
|
Wait, when exactly did the soundness rules change since 1.0? When have you had to re-audit unsafe code? The Rustonomicon [1] serves as a decent introduction to what you can or can't do in unsafe code, and none of that changed to my knowledge. I agree that it's sometimes challenging to contain `unsafe` in a small blast zone, but it's pretty rare IME. [1]: https://doc.rust-lang.org/nomicon/intro.html |
|
That I only remember such things vaguely and not in a “oh yeah here’s the last ten times this happened and here’s the specifics” speaks to how often it happens, which is not often.
Lots of times soundness fixes are found by people looking for them, not for code in the wild. Fixing cve-rs will mean a “breaking” change in the literal sense that that code will no longer compile, but outside of that example, no known code in the wild triggers that bug, so nobody will notice the breakage.