Knowing what we know about memory, now we can try to understand buffer-overflow. In general, buffer overflows target stack frames allocated to data structures being used by a program. The goal is to overwrite and overflow the stack frame in order to access memory not intended to be accessed by that frame.
[!My previous notes (linked in text)]
- You'll find them all here