Skip to content
rusthacks.dev

Tag

overflow

1 post

Flat illustration for the post “Integer Overflow Bugs in Rust Release Builds and Fixes”, composed around security.
Security

Integer Overflow Bugs in Rust Release Builds and Fixes

Integer overflow panics in debug builds and wraps in release builds by default. Learn how that becomes a vulnerability, which arithmetic to use for untrusted numbers and how to enable checks in release.

3 min read