diff options
author | 1999-01-02 04:37:46 +0000 | |
---|---|---|
committer | 1999-01-02 04:37:46 +0000 | |
commit | efdd090a8513d6b95e767e897438aeb6c60ae6f4 (patch) | |
tree | 394f884dc6c98a7719eb44e1f8552f95407764e7 /adduser/adduser.perl | |
parent | b6d9e336a0700d121f1bb6dbc52f4b6e3f08b9d7 (diff) | |
download | pw-darwin-efdd090a8513d6b95e767e897438aeb6c60ae6f4.tar.gz pw-darwin-efdd090a8513d6b95e767e897438aeb6c60ae6f4.tar.zst pw-darwin-efdd090a8513d6b95e767e897438aeb6c60ae6f4.zip |
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 <bright@hotjobs.com>
Submitted by: Hiroshi Nishikawa <nis@pluto.dti.ne.jp>
Diffstat (limited to 'adduser/adduser.perl')
0 files changed, 0 insertions, 0 deletions