[AWS] buffer overflow?

Ted Dennison dennison@ssd.fsi.com
Fri, 09 Apr 2004 11:53:37 -0500


Jacob Sparre Andersen wrote:

>Ted Dennison wrote:
>
>  
>
>>My (admittidly ancient) Gnat user guide for version 3.13p
>>contains the following:
>>
>>    For most operating systems, |gcc| does not perform stack overflow
>>    checking by default.
>>
>>If that has been changed, I'm quite glad to hear it.
>>    
>>
>
>I think I managed to enable it either on Digital Unix or on
>Linux, but it required some trick, which I can't remember at
>the moment, and I also have a vague memory of it not being
>completely perfect.
>  
>
Well, my ancient guide continues:

    To activate stack checking, compile all units with the gcc option
    |-fstack-check|.

Of course anyone with Gnat should look in their own User Guide (perhaps 
in the Run-time Checks and Stack Overflow Checking sections)

-- 
T.E.D.   Work     -  mailto:dennison@ssd.fsi.com
         Home     -  mailto:dennison@telepath.com (Yahoo: Ted_Dennison)
         Homepage -  http://www.telepath.com/~dennison/Ted/TED.html
--
Well, let's just say, if your VCR is still blinking 12:00,
you don't want Linux.