News for hackers. Stuff that matters.
Re:Google interview questions - fun brain teasers by pfedor on Monday August 04, 2008 @10:11PM (#267063)
Ummmm I may be way off base here but I remember hearing that some implementations (*BSD??) randomly reorder the local variables on stack to make exploiting buffer overruns more difficult. So if it's true then you do need to make a function call.
Re:Google interview questions - fun brain teasers by aston on Tuesday August 05, 2008 @12:03AM (#267130)
Not sure this is even possible with compiled code. Even so, you don't really change the buffer overrun attack vector at all by moving variables around.