diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-03 18:30:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-03 18:30:40 +0000 |
commit | e67e5af9344bcd024ed3da470e4417a8b8ffd3fb (patch) | |
tree | 4fefee69cd28c7bba8a10cee609d0897fa8097e5 /gnu | |
parent | 2594b6b9128fe7c25051a46e77d6620260316cd3 (diff) |
Replace bogus use of fgetln() (which doesn't NUL-terminate strings)
with fgets() (which does). Using fgetln() doesn't make a huge amount
of sense since passwd entries are required to be short and mustn't contain
NULs. This also fixes a bus error on sparc64 (caused by passing a pointer
to an int when a pointer to size_t was expected) found by pvalchev@.
Tested and OK pvalchev@
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions