Re: Exim buffer overruns [was Re: Hoo boy...]

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Warner Losh
Ημερομηνία:  
Προς: Jawaid Bazyar
Υ/ο: Nigel Metheringham, Lee McLoughlin, Philip Hazel, Pete Ashdown, Exim Mailing List
Αντικείμενο: Re: Exim buffer overruns [was Re: Hoo boy...]
In message <3.0.1.32.19970722110733.009c66d0@???> Jawaid Bazyar writes:
: The GNU alloc() function automatically disposes the memory as soon as you
: leave the function that allocated it (it's allocated on the stack, and thus
: goes away with the rest of the frame).
:
: alloc() is a good replacement for local buffers. However, I don't know how
: many platforms it is supported on.

That's alloca() :-). And it isn't well supported on some platforms.

Warner