This is only true if you're lucky enough that the top stack frame is
the same as the one in which the buffer was allocated. Typical overrun
look like
char array[80];
gets(array);
in which case the overrun can happily overwrite the return address for `gets'.
Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/