diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1999-01-02 04:37:46 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1999-01-02 04:37:46 +0000 |
commit | f9a75fe50e33dd59bc91eac72bc5530cb7e434fb (patch) | |
tree | 3d7665df1cf22562cb189b90feda76f533bcb869 /pw/pw_group.c | |
parent | cd2ae73923de635e7b8ba9bdb4fe00c96464b807 (diff) | |
download | pw-darwin-f9a75fe50e33dd59bc91eac72bc5530cb7e434fb.tar.gz pw-darwin-f9a75fe50e33dd59bc91eac72bc5530cb7e434fb.tar.zst pw-darwin-f9a75fe50e33dd59bc91eac72bc5530cb7e434fb.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 'pw/pw_group.c')
0 files changed, 0 insertions, 0 deletions