logoalt Hacker News

mitxela • today at 3:33 PM • 1 reply • view on HN

Rust does allow you to overflow buffers, confuse types, and duplicate mutable pointers in safe code. See cve-rs.


Replies

simonask • today at 4:06 PM

No, Rust does not allow that. The current Rust compiler does, but that’s a bug that is being fixed.

At some point in the future, a fully backwards compatible Rust compiler will report an error when you try to compile cve-rs.

➕ show 3 replies