git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
32b1138
)
Fix PAM auth. Bug 2813
author
Adam Lackorzynski
<adam@l4re.org>
Sat, 16 Oct 2021 15:30:07 +0000
(16:30 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 16 Oct 2021 15:34:03 +0000
(16:34 +0100)
src/src/auths/call_pam.c
patch
|
blob
|
history
diff --git
a/src/src/auths/call_pam.c
b/src/src/auths/call_pam.c
index 80bb23ec396759226b445759b4b639b4b2b8211d..03b9be1a8de8279513ac9a80d6a6f7c558ecbf8a 100644
(file)
--- 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;