Question: In the Stack Guard approach to solving the buffer overflow problem, the compiler inserts a canary value on the memory location before the return address
In the Stack Guard approach to solving the buffer overflow problem, the compiler inserts a canary value on the memory location before the return address in the stack The canary value is randomly generated When there is a return from the function call, the compiler checks if the canary value has been overwritten or not Do you think that this approach would work If yes, please explain why it works if not, please give a counterexample?
Step by Step Solution
3.45 Rating (148 Votes )
There are 3 Steps involved in it
ANSWER Yes the nries r nry wrds re knwn vlues tht re led between buffer nd ntrl dt n the stk t mnitr ... View full answer
Get step-by-step solutions from verified subject matter experts
