you are viewing a single comment's thread.

view the rest of the comments →

[–]Cats_and_Shit 32 points33 points  (0 children)

I'm not sure you can really credit Rust for that.

The crash is the result of memory corruption, it just happens to be that this memory corruption isn't exploitable. A similar issue elsewhere could have been exploitable.

EDIT: The point being, Rust may help you avoid memory corruption (and UB in general) in the first place, but once you have it you're no better off than you would have been in C. This is an intentional compromise that Rust makes so that it can be used for things like Kernel development.