From owner-cvs-all Fri Jan 1 20:37:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA07198 for cvs-all-outgoing; Fri, 1 Jan 1999 20:37:55 -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 UAA07193; Fri, 1 Jan 1999 20:37:54 -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 UAA23400; Fri, 1 Jan 1999 20:37:47 -0800 (PST) Date: Fri, 1 Jan 1999 20:37:47 -0800 (PST) Message-Id: <199901020437.UAA23400@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/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 Submitted by: Hiroshi Nishikawa 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