Subject: Re: CVS commit: basesrc/lib/libc
To: Jun-ichiro itojun Hagino <itojun@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 11/17/2002 13:30:08
On Sun, Nov 17, 2002 at 10:49:34PM +0200, Jun-ichiro itojun Hagino wrote:

 > Module Name:	basesrc
 > Committed By:	itojun
 > Date:		Sun Nov 17 20:49:34 UTC 2002
 > 
 > Modified Files:
 > 	basesrc/lib/libc/gen: __glob13.c getcwd.c utmp.c utmpx.c
 > 	basesrc/lib/libc/net: inet_net_ntop.c inet_ntoa.c rcmd.c res_send.c
 > 
 > Log Message:
 > make sure to bound string operation by strlcpy
 > (there are bunch of "strcpy is safe" comments, i think we should change them
 > to strlcpy as much as possible)

If the strcpy() is safe, then what is the point of using another (slower)
routine?

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>