Amazon Interview Question: Began by asking if I knew wha... | Glassdoor

Interview Question

Software Design Engineer Interview Seattle, WA

Began by asking if I knew what a stack crash is. Then asked

  what happens during a function call, and how can this be exploited.
Tags:
programming, security
Answer

Interview Answer

1 Answer

0

Stack overflow. Function variables will be put on a program stack. Input has bigger size than the input parameter, the function could be hijacked by the extra code input with the function call.

Lee_Lo_Ban on Jun 29, 2009

Add Answers or Comments

To comment on this, Sign In or Sign Up.