diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-04-10 00:04:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-04-10 00:04:59 +0000 |
commit | 1c75e0993dd8f5b54331db44a740dfe7479bb520 (patch) | |
tree | f14e0ee15035e6e37e4c64d9341d4f3551e7c1b5 /etc/fbtab.head | |
parent | 0005f4ba58613e5d21f0f171f6785acbf41ff903 (diff) |
Replace strcpy() w/ strlcpy() from espie@
Don't try to free pw_dir -- it is no longer allocated separately.
Instead, add an extra param to sgetpwnam() to allow it to dupe an
existing struct passwd * (instead of doing a lookup by username)
and use this to reallocate pw in the case where pw_dir is the NULL
string. deraadt@ OK
Diffstat (limited to 'etc/fbtab.head')
0 files changed, 0 insertions, 0 deletions