RTX Interview Question

Describe the details of a stack-based buffer overflow attack. Follow up: they wrote some exploitable C code on the board and wanted me to draw a layout of the stack and what it would look like when it was being exploited Follow-up: What is 1 way to prevent against this type of attack? Follow-up: Explain how stack canary values work