summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2016-11-28 21:00:19 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2016-11-28 21:00:19 +0000
commit950f74bfeb6c58dc5e2b1b57980a08f694ba12fc (patch)
tree158037f7df3a46cabf4cbd9cf85c248494ad7b18 /pw
parentc290434aab0f6134ea76ada592074f66a5769791 (diff)
downloadpw-darwin-950f74bfeb6c58dc5e2b1b57980a08f694ba12fc.tar.gz
pw-darwin-950f74bfeb6c58dc5e2b1b57980a08f694ba12fc.tar.zst
pw-darwin-950f74bfeb6c58dc5e2b1b57980a08f694ba12fc.zip
Use malloc()ed buffers instead of stack buffers in gr_copy() and pw_copy().
This allows pw(8) to operate on passwd and group files with longer lines than could be accomodated by a stack buffer. It doesn't take more than a few hundred users to exceed 8192 bytes in /etc/group. MFC after: 3 weeks Sponsored by: The University of Oslo
Diffstat (limited to 'pw')
0 files changed, 0 insertions, 0 deletions