[AWS] buffer overflow?

Jacob Sparre Andersen sparre@nbi.dk
Fri, 9 Apr 2004 18:09:13 +0200 (CEST)


Darren New wrote:

> Wouldn't the range checking in Ada prevent this sort of
> stack-smashing code from working?

In general yes.  The main problem here is probably that the
default behaviour of one of the more wide-spread Ada
compilers (GNAT) is to disable run-time checks.  IMHO this
is _very_ stupid (but I am willing to be educated about the
benefits).

Jacob
-- 
»For there are only two reasons why war is made against a
 republic: The one, to become lord over her: the other, the
 fear of being occupied by her.«       -- Nicolo Machiavelli