Subject: Re: CVS commit: src/usr.sbin/inetd
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 07/13/2003 19:15:17
Jun-ichiro itojun Hagino <itojun@netbsd.org> typed:
: Modified Files:
: src/usr.sbin/inetd: inetd.c
: Log Message:
: use strlcpy
: cvs rdiff -r1.91 -r1.92 src/usr.sbin/inetd/inetd.c
Sometimes you have to wonder about this policy of using strlcpy() in favour
of strcpy() in all places. It's good to know the two byte (including NUL)
constant strings here won't overflow the 1024 and 1025 byte buffers.
Geoff