Smashing the Stack on FreeBSD
Here's a simple program to illustrate a stack smash. {% highlight bash %} $ date Wed Sep 14 11:36:21 EDT 2011 $ uname -a FreeBSD fbsd.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/