From owner-cvs-all Mon Jan 4 06:08:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA17909 for cvs-all-outgoing; Mon, 4 Jan 1999 06:08:02 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA17903; Mon, 4 Jan 1999 06:08:00 -0800 (PST) (envelope-from billf@FreeBSD.org) From: Bill Fumerola Received: (from billf@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA01416; Mon, 4 Jan 1999 06:07:54 -0800 (PST) Date: Mon, 4 Jan 1999 06:07:54 -0800 (PST) Message-Id: <199901041407.GAA01416@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pw pw_user.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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