Date: Mon, 4 Jan 1999 06:07:54 -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: <199901041407.GAA01416@freefall.freebsd.org>
index | next in thread | raw e-mail
billf 1999/01/04 06:07:54 PST
Modified files:
usr.sbin/pw pw_user.c
Log:
-Clarification of last commit-
The char that the random letters and numbers are being pulled from is
ended with a '\0'. Using sizeof() includes this '\0' in the 'pool' of
possible characters. This patch decrements by one the size so we don't
accidently end the new password prematurly.
Revision Changes Path
1.25 +1 -1 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901041407.GAA01416>
