you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 3 days ago (1 child)

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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 days 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.

  • source
  • parent