Warning: The following blunders are for entertainment purposes only. Do not attempt to use these in real-world hacking scenarios. Or do. We're not really sure.
Fill a buffer with too much data. Watch as your program segfaults in a most satisfying manner.
More Buffer Overflow FunDelete an object twice. Watch as your program becomes an infinite loop of sadness and despair.
More Double-Freeing MayhemOverflow an integer. Experience the thrill of undefined behavior.
More Integer Overflow Antics