Subject: CVS commit: [netbsd-2-1] src/usr.sbin/user
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 10/15/2006 15:54:11
Module Name: src
Committed By: bouyer
Date: Sun Oct 15 15:54:11 UTC 2006
Modified Files:
src/usr.sbin/user [netbsd-2-1]: user.c
Log Message:
Pull up following revision(s) (requested by pavel in ticket #10718):
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.75.4.1 -r1.75.4.1.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.