Question:
Discuss about the stack based buffer over run detection in VC++?
Answer:
Stack based buffer over run protects the program from executing malicious code. Function epilogue code checks the returned cookie for similarity if there is a mismatch it stops executing the code. It also moves around the stack which makes the data corruption harder. These features are present in Visual C++ 2005. It also mitigates various buffer over runs through memory decrease. Source: CoolInterview.com
Stack based buffer over run protects the program from executing malicious code. Function epilogue code checks the returned cookie for similarity if there is a mismatch it stops executing the code. It also moves around the stack which makes the data corruption harder. These features are present in Visual C++ 2005. It also mitigates various buffer over runs through memory decrease.
Source: CoolInterview.com
Answered by: sudhir singh | Date: 5/12/2009
| Contact sudhir singh
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|