Hacker News new | ask | show | jobs
by flohofwoe 56 days ago
> ...that exploit things like integer overflows...

AFAIK Rust doesn't check for integer overflow in release builds, so that would still be exploitable.

1 comments

Rust doesn't check for integer overflow in release builds by default (ignoring the explicitly-checked methods, of course). At least when building with Cargo whoever builds the binary sets overflow behavior.