Skip to content

Commit

Permalink
Fix PAM auth. Bug 2813
Browse files Browse the repository at this point in the history
  • Loading branch information
admlck authored and Jeremy Harris committed Oct 16, 2021
1 parent 32b1138 commit 51be321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/auths/call_pam.c
Expand Up @@ -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;

Expand Down

0 comments on commit 51be321

Please sign in to comment.