marcel 444c6d5354 The getlogin_basic() function can return a 0 status with a NULL
pointer for the login name (result). Make sure to handle that
case properly. Improve robustness by checking namelen and then
nul-terminating the provided buffer to simplify subsequent logic.

Obtained from:	Juniper Networks, Inc.
MFC after:	1 week
2014-04-05 18:14:58 +00:00
..
2013-01-01 18:29:25 +00:00
2013-12-25 19:38:16 +00:00
2014-01-21 21:13:13 +00:00
2014-02-01 09:27:57 +00:00
2013-05-30 08:02:00 +00:00
2013-05-12 22:22:12 +00:00
2014-01-26 23:40:31 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2014-03-22 17:28:14 +00:00
2014-03-14 20:54:15 +00:00