summaryrefslogtreecommitdiff
path: root/usr.bin/less/output.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2018-09-21 19:13:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2018-09-21 19:13:50 +0000
commitcb7d12682d1d8384afbfe22016f5d05cc09544c5 (patch)
treec0da380e71398cc5b6d6b42e78c64049e5b19486 /usr.bin/less/output.c
parentf2fc0e7837d98d9968856eaa547d8eea3047afec (diff)
Use password/group cache functions and avoid stashing a pointer to
the return value of getgrgid(3) or getgrnam(3) which relies on undefined behavior. The rdist server will now use getgroups(2) to determine group membership of the invoking user. In addition, there is now one implementation of tilde expansion instead of two. OK tb@ tim@
Diffstat (limited to 'usr.bin/less/output.c')
0 files changed, 0 insertions, 0 deletions