buffer-overflow

Buffer Overflow

Buffer overflow happens when an unsafe buffer that reads in inputs goes outside the bounds of it’s intended memory address It can be deadly because the stack can be overwritten Can return an overwritten memory address by manipulating the eip register, which is the instruction pointer (next instruction) It may be harder to overwrite local variables and less useful, since compiler optimization may not overwrite where you want it to.