https://bugs.exim.org/show_bug.cgi?id=2813
--- Comment #10 from Git Commit <g...@exim.org> --- Git commit: https://git.exim.org/exim.git/commitdiff/51be321b27825c01829dffd90f11bfff256f7e42 commit 51be321b27825c01829dffd90f11bfff256f7e42 Author: Adam Lackorzynski <a...@l4re.org> AuthorDate: Sat Oct 16 16:30:07 2021 +0100 Commit: Jeremy Harris <jgh146...@wizmail.org> 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. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##