Tag: memory-safety
All the articles with the tag "memory-safety".
An 11-year-old hole in the Rust borrow checker, reproduced on stable, nightly and Rust 1.4
Issue #164250 shows safe Rust with no unsafe block that reads a String after it was freed. Here is the program, the one-line change the compiler rejects, AddressSanitizer's verdict, a run on Rust 1.4.0 from 2015 in Docker, and what the open fix changes.