Memory safety
Memory safety
Watch
Buffer overflows made easy (first five minutes, from 0:00 to 5:01)
Identifying and fixing heap corruption bugs (3:37)
Optional: Debugging with valgrind (17:50)
Lecture slides
Memory safety (PDF) Download Memory safety (PDF)