https://bugs.exim.org/show_bug.cgi?id=2813
--- Comment #10 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/51be321b27825c01829dffd90f11bfff256f7e42
commit 51be321b27825c01829dffd90f11bfff256f7e42
Author: Adam Lackorzynski <adam@???>
AuthorDate: Sat Oct 16 16:30:07 2021 +0100
Commit: Jeremy Harris <jgh146exb@???>
CommitDate: Sat Oct 16 16:34:03 2021 +0100
Fix PAM auth. Bug 2813
---
src/src/auths/call_pam.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/src/auths/call_pam.c b/src/src/auths/call_pam.c
index 80bb23e..03b9be1 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;
--
You are receiving this mail because:
You are on the CC list for the bug.