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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Lee McLoughlin
Fecha:  
A: Warner Losh
Cc: Jawaid Bazyar, Nigel Metheringham, Philip Hazel, Pete Ashdown, Exim Mailing List
Asunto: Re: Exim buffer overruns [was Re: Hoo boy...]
Warner Losh wrote:
>
> 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.


There are some C library routines that do the same job. Thats what
emacs uses.

--
Lee McLoughlin.                         Phone: +44 171 594 8388
IC-Parc, Imperial College,              Fax:   +44 171 594 8432
South Kensington, London. SW7 2BZ. UK.  Email: L.McLoughlin@???