stack canary
A secret value placed on the stack (typicallly between the function's local variables and the stored return address) which changes every time the program is started
before a function returns, this value will be checked, and if modified, this means that a stack overflow has occurred, and the program will exit immediately
this prevents buffer overflow attacks which attempts to overwrite the return address memory value
Eg. In a C code
Last updated