Re: [x86] Access off the bottom of stack causes a segfault?

From: Chris Lattner
Date: Tue Oct 14 2003 - 13:52:29 EST


> > Why exactly is accessing the stack below %esp always a bug?
>
> Any signal can overwrite any value stored below %esp. In kernel
> any interrupt/exception can overwrite any value stored below %esp.
> Your compiler is broken....

Ah, ok. That makes sense. Thanks!

-Chris

--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/