Date: Fri, 1 Jan 1999 20:37:47 -0800 (PST) From: Bill Fumerola <billf@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pw pw_user.c Message-ID: <199901020437.UAA23400@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
billf 1999/01/01 20:37:47 PST
Modified files:
usr.sbin/pw pw_user.c
Log:
Let's make sure we're at the end of the password string before we apply a \0
and terminate it. This patch ensures passwords will be the correct length of 8,
which is what is implied in the source (but not reflected in the man page).
PR: bin/7817
Reviewed by: Alfred Perlstein <bright@hotjobs.com>
Submitted by: Hiroshi Nishikawa <nis@pluto.dti.ne.jp>
Revision Changes Path
1.24 +2 -2 src/usr.sbin/pw/pw_user.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901020437.UAA23400>
