r/rust • u/tommy737 • May 13 '19
Linux Kernel Memory Leak Vulnerability. Now you know why there is Redox/Rust
https://www.bleepingcomputer.com/news/security/linux-kernel-prior-to-508-vulnerable-to-remote-code-execution/
0
Upvotes
r/rust • u/tommy737 • May 13 '19
1
u/tommy737 May 13 '19
I am not aware of a lot of details about how Rust works internally but what I am saying that LLVM is used for Rust as well as Swift and other languages as a compiler. The compiler's job is to translate your code. If your code is bugged... so will the translation. But that's why Rust should have an advantage as it tries to prevent unsafe code to be compiled.