Re: Stack growth direction to thwart buffer overflow attacks
From: Frank Cusack (fcusack_at_fcusack.com)
Date: 08/19/03
- Next message: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Previous message: Frank Cusack: "Re: Stack growth direction to thwart buffer overflow attacks"
- In reply to: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Next in thread: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Reply: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 19 Aug 2003 06:49:20 -0700
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.
You are correct, early implementations varied on their behavior.
/fc
- Next message: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Previous message: Frank Cusack: "Re: Stack growth direction to thwart buffer overflow attacks"
- In reply to: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Next in thread: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Reply: Nick Maclaren: "Re: Stack growth direction to thwart buffer overflow attacks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|