summaryrefslogtreecommitdiff
path: root/usr.bin/less/output.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2018-09-21 19:00:46 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2018-09-21 19:00:46 +0000
commitf2fc0e7837d98d9968856eaa547d8eea3047afec (patch)
tree1620565db6557ac523ca2602eef66f8ab230fada /usr.bin/less/output.c
parent6f150d8f51402f6111605b62cc229ce0be72589f (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