Stack Canaries: Sentinel Values Protecting Return Addresses

Stack canaries place a secret value between local buffers and sensitive data on the stack; if this value is modified during runtime, it indicates a buffer overflow, leading to program termination.

Sources

Open the full topic