aboutsummaryrefslogtreecommitdiff
path: root/libpam
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-11-11 18:17:07 +0100
committerDmitry V. Levin <github.dl@altlinux.org>2023-11-15 17:48:19 +0000
commit38c0bd5a65d133a30381bd8a5cb16c2ff2d15065 (patch)
tree7fbcb0235fd62a1f228aa9073bb86c67237cecf3 /libpam
parent980ddf7067773d3c321e07856e035e1a43a405e0 (diff)
downloadpam-38c0bd5a65d133a30381bd8a5cb16c2ff2d15065.tar.gz
pam-38c0bd5a65d133a30381bd8a5cb16c2ff2d15065.tar.bz2
pam-38c0bd5a65d133a30381bd8a5cb16c2ff2d15065.zip
pam_xauth: avoid building argv inside run_coprocess
Passing an indeterminate number of arguments via varargs to a function is dependent on the compiler implementation. Instead, as we are handing off the argv to execv directly anyway without further processing we can build this array inline at the call site instead. Doing so actually also avoids a previous limitation of the old implementation where long argument lists could have been truncated silently to their first nine arguments. The new implementation does not impose such a limit on the caller. Signed-off-by: Benny Baumann <BenBE@geshi.org>
Diffstat (limited to 'libpam')
0 files changed, 0 insertions, 0 deletions