Skip to content

Glossary: Application and Credential Attacks, and AI Risks

stack canary

Also written: canary, stack smashing detected

A known value the compiler places next to a buffer and checks before the program jumps back. If an overflow changes it, the program stops with "stack smashing detected".

Where the book teaches it

Related terms

buffer overflowreturn addressASLR (address space layout randomization)DEP (data execution prevention)