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.
Open the full topic