Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs
Secure Programming
Name:
Email:
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Subject:
Message:
 
Re: Are bad developer libraries the problem with M$ software? Nov 22 2002 03:31PM
Frank Knobbe (fknobbe knobbeits com)
On Tue, 2002-11-19 at 16:57, Andrew Dalgleish wrote:

> No, it would not. strncpy does NOT append the trailing 0 if the
> length of the source is greater than or equal to the count.
>
> Using sizeof(dst)-1 will leave the last byte in the buffer unchanged.
> If dst is on the stack there is no guaran...

[ more ]  





 

Privacy Statement
Copyright 2009, SecurityFocus