diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2023-05-17 22:18:03 +0200 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2023-05-17 22:18:03 +0200 |
commit | e75e15c7eea15b3aa48026be209239179b747222 (patch) | |
tree | defe5390f8ebf0746eb2b8561f7ef48ae8e25568 /modules/pam_shells | |
parent | 2d121ac1285958f4d9502d5b078af814b120dd3d (diff) | |
download | pam-e75e15c7eea15b3aa48026be209239179b747222.tar.gz pam-e75e15c7eea15b3aa48026be209239179b747222.tar.bz2 pam-e75e15c7eea15b3aa48026be209239179b747222.zip |
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 'modules/pam_shells')
0 files changed, 0 insertions, 0 deletions