From owner-cvs-all Sat Jan 2 09:46:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06592 for cvs-all-outgoing; Sat, 2 Jan 1999 09:46:37 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06586; Sat, 2 Jan 1999 09:46:30 -0800 (PST) (envelope-from billf@jade.chc-chimes.com) Received: from localhost (billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) with SMTP id MAA04037; Sat, 2 Jan 1999 12:46:58 -0500 (EST) (envelope-from billf@jade.chc-chimes.com) Date: Sat, 2 Jan 1999 12:46:58 -0500 (EST) From: Bill Fumerola To: Bill Fumerola cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/pw pw_user.c In-Reply-To: <199901020437.UAA23400@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Fri, 1 Jan 1999, Bill Fumerola wrote: > 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). I want to clarify this log message, as it was late. The patch makes sure that the '\0' from the static char conts chars is not thrown into the 'pool' of available characters. Doing so could make the password shorter then we really intended. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message