aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/tst-pam_unix
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2024-01-13 23:58:15 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-14 15:07:56 +0000
commit4130bc323f9ce99a97aa4566e170725415556060 (patch)
tree96c34a47888cf480c146a48e8f4409b969a28fb4 /modules/pam_unix/tst-pam_unix
parent539816e4a0a277dbb632412be91e482fff9d9d09 (diff)
downloadpam-4130bc323f9ce99a97aa4566e170725415556060.tar.gz
pam-4130bc323f9ce99a97aa4566e170725415556060.tar.bz2
pam-4130bc323f9ce99a97aa4566e170725415556060.zip
pam_succeed_if: allow very long field values
Fields are currently written to stack buffer, even if they already exist in heap. Just reference them in this case. If numbers have to be stored as a string, use a stack buffer sufficiently large for the long long conversion (64 bit). Also adjust the "left != buf" check to allow this change. It is simply the else-statement to previous if-else-if-block, because in every other case left is set to buf. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_unix/tst-pam_unix')
0 files changed, 0 insertions, 0 deletions