diff options
author | Adam Lackorzynski <adam@l4re.org> | 2021-10-16 16:30:07 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-10-16 16:34:03 +0100 |
commit | 51be321b27825c01829dffd90f11bfff256f7e42 (patch) | |
tree | ce3800b91c5a1021cb70fb2059342adc93e98263 /src | |
parent | 32b11385ddced7eafe68c60eebbb2c81979ce35f (diff) |
Fix PAM auth. Bug 2813
Diffstat (limited to 'src')
-rw-r--r-- | src/src/auths/call_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/auths/call_pam.c b/src/src/auths/call_pam.c index 80bb23ec3..03b9be1a8 100644 --- a/src/src/auths/call_pam.c +++ b/src/src/auths/call_pam.c @@ -88,7 +88,7 @@ for (int i = 0; i < num_msg; i++) arg = US""; pam_arg_ended = TRUE; } - reply[i].resp = CS string_copy_malloc(arg); /* PAM frees resp */ + reply[i].resp = strdup(CCS arg); /* Use libc malloc, PAM frees resp directly*/ reply[i].resp_retcode = PAM_SUCCESS; break; |