How would you diagnose a buffer overflow?
Anonymous
Have a canary value in the stack (like 0xDEADBEEF) and check if it still exists. Buffer overflow will overwrite the canary which can be detected.
Check out your Company Bowl for anonymous work chats.