Remix.run Logo
▲ grg0 3 hours ago

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?

▲jooops1 3 hours ago | parent | next [-]

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.

▲Fordec 30 minutes ago | parent | prev [-]

[profile.release] overflow-checks = true