logoalt Hacker News

K0nserv • today at 5:07 PM • 0 replies • view on HN

Sure, I usually use `overflow-checks = true` in Rust for this reason. However, it is still true that the overflow is not what caused the issue here. In Rust it would've paniced on the out of bounds copy, even with `overflow-checks = false`.