git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPDX: Mass-update to GPL-2.0-or-later
[exim.git]
/
src
/
src
/
auths
/
call_pam.c
diff --git
a/src/src/auths/call_pam.c
b/src/src/auths/call_pam.c
index 80bb23ec396759226b445759b4b639b4b2b8211d..3ff15711d21320f8c7e19dc5b286951d770b2dd5 100644
(file)
--- a/
src/src/auths/call_pam.c
+++ b/
src/src/auths/call_pam.c
@@
-3,8
+3,9
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 */
+/* Copyright (c) The Exim Maintainers 2020
- 2021
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include "../exim.h"
#include "../exim.h"
@@
-88,7
+89,7
@@
for (int i = 0; i < num_msg; i++)
arg = US"";
pam_arg_ended = TRUE;
}
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;
reply[i].resp_retcode = PAM_SUCCESS;
break;