Robert Watson ba183db70c Replace strncpy() with strlcpy() when parsing login time limit strings
from /etc/login.conf, or an unterminated string buffer could result.
Probably, login_times.c should reject excessively long time strings as
unparseable, rather than truncating, which might render an invalid
string valid.

Found with:	Coverity Prevent (tm)
Reviewed by:	csjp
MFC after:	3 days
2006-01-16 00:52:20 +00:00
..
2005-04-22 18:57:32 +00:00
2005-07-13 10:40:07 +00:00
2005-02-13 23:45:54 +00:00
2005-10-04 22:00:35 +00:00
2005-11-24 10:43:35 +00:00
2004-12-29 02:18:24 +00:00
2005-11-17 13:00:00 +00:00
2004-12-21 10:49:29 +00:00
2005-11-24 10:54:47 +00:00
2005-06-04 10:48:21 +00:00
2005-11-24 11:14:06 +00:00
2004-12-21 10:16:04 +00:00
2005-09-26 06:23:43 +00:00
2005-11-24 11:26:36 +00:00