Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.”