summaryrefslogtreecommitdiffstats
path: root/pw/pw_group.c
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-01-02 04:37:46 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-01-02 04:37:46 +0000
commitf9a75fe50e33dd59bc91eac72bc5530cb7e434fb (patch)
tree3d7665df1cf22562cb189b90feda76f533bcb869 /pw/pw_group.c
parentcd2ae73923de635e7b8ba9bdb4fe00c96464b807 (diff)
downloadpw-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