logoalt Hacker News

grg0 • today at 2:07 AM • 1 reply • view on HN

And how does Rust help? As far as I know, an integer overflow in Rust panics in debug but just wraps in release (a bad choice in my opinion). Would it help specifically in the code execution part of the exploit?


Replies

jooops1 • today at 2:18 AM

The key difference is even If an Integer overflows in Rust It still doesn't violate memory safety in safe Rust and therefore doesn't lead to exploitation.