Subject: Re: CVS commit: basesrc/lib/libc/net
To: None <groo@netbsd.org>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: source-changes
Date: 04/17/2002 08:55:13
Bill Squier <groo@netbsd.org> writes:
> Log Message:
> botched strn* -> strl*
> from xs@kittenz.org
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.45 -r1.46 basesrc/lib/libc/net/rcmd.c
I guess it is better to use snprintf() instead of str.cpy and str.cat
and check truncation also (one might want to not use truncated .rhosts
path). If truncation really occurs, administrator might want to know
that (probably something else, program or configuration, is broken).
enami.