aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPavlNekrasov <95914807+PavlNekrasov@users.noreply.github.com>2024-09-12 08:54:29 +0300
committerDmitry V. Levin <ldv@strace.io>2024-09-13 08:00:00 +0000
commit63ba6e4aa17761461fbddf71af7cb154f1e5b9ae (patch)
tree109c27ad9693273bd11b13a394306f504b6f766f /modules
parenta2de804e56618b839966120dae012f3c8d7aef82 (diff)
downloadpam-63ba6e4aa17761461fbddf71af7cb154f1e5b9ae.tar.gz
pam-63ba6e4aa17761461fbddf71af7cb154f1e5b9ae.tar.bz2
pam-63ba6e4aa17761461fbddf71af7cb154f1e5b9ae.zip
examples/tty_conv: fix potential out of bound write in readline()
At the end of the loop the iterator `i` can be equal to `PAM_MAX_RESP_SIZE`, which will cause an index call outside the array in the `input[i] = '\0';` Signed-off-by: Dmitry V. Levin <ldv@strace.io>
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions