An exercise that I did in C a while back into buffer overflows in traditional strcpy implementations.