smashing the stack for fun and profit (week 2) Flashcards
1
Q
buffer
A
a contiguous block of computer memory that holds multiple instances of the same data type
2
Q
static vs. dynamic
A
static: allocated at load time on the data segment
dynamic: allocated at run time on the stack
3
Q
true or false
memory can only be addressed in multiples of the word size
A
true
4
Q
in short, how does a buffer overflow attack work?
A
- attack can copy more data than was expected by developer
- attacker can inject its own code into the stack
- attacker can redirect control of the program by replacing return address