I try to experiment with a buffer overflow exploit for the purposes of coding learning.
I follow an example and I successfully made it to the point, where my eip points to the address where I store instructions to be executed. However, gdb shows me message:
Program received signal SIGSEGV, Segmentation fault. 0xffffcf7c in ?? ()
0xffffcf7c is correct address where my NOP sequence is. But the code is not executed. Any ideas why my code stops there?