Brain Dump

Stack Protectors

Tags
security

Is a compiler-level way to prevent buffer-overflow attacks.

Essentially the compiler will place a value that resides in the stack and must remain constant throughout the function call. If it's overridden at the end of the function, such as by a buffer overflow, the runtime will abort and report to the user that stack smashing was detected.