Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 12:46:58 -0500 (EST)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        Bill Fumerola <billf@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/pw pw_user.c
Message-ID:  <Pine.BSF.3.96.990102124337.3895A-100000@jade.chc-chimes.com>
In-Reply-To: <199901020437.UAA23400@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990102124337.3895A-100000>