117
you are viewing a single comment's thread
view the rest of the comments
[-] LaggyKar@programming.dev 7 points 1 day ago

RCE from integer overflow (not possible by default in Rust

It is possible. Rust will check for overflow and panic in debug builds, but will silently wrap integers in release builds.

[-] TheTechnician27@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

Yeah, you're right. I was thinking of a combination of Rust's debug mode, the fact it won't compile if it detects a static under/overflow, and Swift's default producing a runtime error on integer under/overflow. Corrected; I apologize.

this post was submitted on 22 Oct 2026
117 points (100.0% liked)

Linux

15293 readers
258 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS