Check out the new USENIX Web site. next up previous
Next: StackShield Up: Related work Previous: Related work

StackGuard

The stack smashing attack overwrites the buffer, the return address and everything in between. StackGuard [6] is a GNU C compiler extension that inserts a canary word between the return address and the buffer so that an attempt to alter the return address is detected by inspecting the canary word before returning from a function1. Programs needs to be recompiled with StackGuard to be protected.