Subject: CVS commit: [netbsd-3-0] src/usr.sbin/user
To: None <source-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: source-changes
Date: 10/16/2006 21:46:06
Module Name: src
Committed By: ghen
Date: Mon Oct 16 21:46:06 UTC 2006
Modified Files:
src/usr.sbin/user [netbsd-3-0]: user.c
Log Message:
Pull up following revision(s) (requested by pavel in ticket #1554):
usr.sbin/user/user.c: revision 1.112
in userinfo, initialize buf (the buffer which will hold group names)
to be a null-terminated string. Otherwise, if the user is not a member
of any secondary groups, buf is completely uninitialized and userinfo
adds garbage to the list of groups printed.
To generate a diff of this commit:
cvs rdiff -r1.77.2.3 -r1.77.2.3.2.1 src/usr.sbin/user/user.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.