Unsafe is dangerous
βUse-after-free (UAF), integer overflows, and out of bounds (OOB) reads/writes comprise 90% of vulnerabilities with OOB being the most common.β
β Jeff Vander Stoep and Chong Zang, Google. βQueue the Hardening Enhancementsβ
βThe software industry has gathered lots of evidence that unsafe code is difficult to write correctly and creates very serious problems.β
βThe issues in this list are eliminated by Rust. The unsafe keyword lets them back into your source code.β
βBe careful.β