On 03/16/2016 09:55 AM, Mouse wrote:
As for buffer overruns, the point there is that a
buffer overrun
clobbers memory addressed higher than the buffer. If the stack grows
down, this can overwrite stack frames and/or callers' locals. If the
stack grows up, all it can overwrite is locals for the current frame
and unused stack space.
If the stack is in its own segment, you get to use the segment
protection hardware to catch overruns.