I was trying to do a buffer overflow (I\'m using Linux) on a simple program that requires a password. Here\'s the program code:
#include #inc
The reason is stack smashing is actually a protection mechanism used by some compilers to detect buffer overflow attacks. You are trying to put the 29 A's into a shorter character array (16 bytes).