Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/lib/libc



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@localhost>



Home | Main Index | Thread Index | Old Index