Re: Stack growth direction to thwart buffer overflow attacks

From: Nick Maclaren (nmm1_at_cus.cam.ac.uk)
Date: 08/19/03


Date: 19 Aug 2003 14:11:56 GMT


In article <m3wud9g3kv.fsf@magma.savecore.net>,
Frank Cusack <fcusack@fcusack.com> writes:
|> On 19 Aug 2003 09:24:38 GMT nmm1@cus.cam.ac.uk (Nick Maclaren) wrote:
|> > If the above descriptions are correct, then the FreeBSD implementation
|> > may not be standard conforming. Whether or not it is, I believe that
|> > pre-C90 implementations of strncpy did NOT always pad the result to
|> > the full length. I believe that some DID always null-terminate, too,
|> > if the length was greater than zero.
|>
|> Do you mean C99? I'm aware of C89 and C99 only, but it may just be
|> too early in the AM for me.

C89 = ANSI
C90 = ISO

Otherwise effectively identical.

Regards,
Nick Maclaren.