[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Running 64 bit prototype of TSVN 1.2.1 built with VS2005

From: Milen A. Radev <mradev_at_gmail.com>
Date: 2005-08-20 10:31:34 CEST

On 20/08/05, Joseph Galbraith <galb@vandyke.com> wrote:
> Erik Anderson wrote:
> > _strcpy_s ?!? Whatever happened to strncpy?
>
> strncpy()'s length parameter says don't read more
> than n bytes from the input. I do agree that
> using strncpy() over strcpy() would solve most
> of the problems strcpy_s is trying to solve.

The deficiencies of strncpy and friends are addressed by the guys from
OpenBSD too - http://www.usenix.org/events/usenix99/full_papers/millert/millert.pdf

[...]

-- 
Milen A. Radev
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Aug 20 10:31:59 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.