summaryrefslogtreecommitdiff
path: root/tests/tst-pam_open_session.c
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2023-05-17 22:18:03 +0200
committerPino Toscano <toscano.pino@tiscali.it>2023-05-17 22:18:03 +0200
commite75e15c7eea15b3aa48026be209239179b747222 (patch)
treedefe5390f8ebf0746eb2b8561f7ef48ae8e25568 /tests/tst-pam_open_session.c
parent2d121ac1285958f4d9502d5b078af814b120dd3d (diff)
downloadlinux-pam-git-e75e15c7eea15b3aa48026be209239179b747222.tar.gz
pam_xauth: switch away from PATH_MAX
Allocate the path buffer in check_acl() dynamically using asprintf(), so there is no need to use a PATH_MAX-fixed size buffer. The fallback PATH_MAX definition is no more needed, thus is dropped. Make sure that paths too long still result in PAM_SESSION_ERR.
Diffstat (limited to 'tests/tst-pam_open_session.c')
0 files changed, 0 insertions, 0 deletions