diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 1999-01-04 14:07:53 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 1999-01-04 14:07:53 +0000 |
| commit | 17dadd6970011b8ffe2c5b946857a587cd72a6d0 (patch) | |
| tree | d565b7e256274b4486d2ead77fa95b3545146781 /pw/pw.c | |
| parent | f9a75fe50e33dd59bc91eac72bc5530cb7e434fb (diff) | |
| download | pw-darwin-17dadd6970011b8ffe2c5b946857a587cd72a6d0.tar.gz pw-darwin-17dadd6970011b8ffe2c5b946857a587cd72a6d0.zip | |
-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.
Diffstat (limited to 'pw/pw.c')
0 files changed, 0 insertions, 0 deletions
