diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-16 11:51:00 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-16 11:53:13 -0500 |
commit | 3da2609d20eb5cbb05f212e13baa040bf7cf02fa (patch) | |
tree | 96df56d6b97377720b911f39747ddd63002eee60 /src | |
parent | d8ac1e7ac9d659717db884ba02c3aa1caeffb60c (diff) | |
download | sssd-3da2609d20eb5cbb05f212e13baa040bf7cf02fa.tar.gz sssd-3da2609d20eb5cbb05f212e13baa040bf7cf02fa.tar.bz2 sssd-3da2609d20eb5cbb05f212e13baa040bf7cf02fa.zip |
Fix segfault for PAM_TEXT_INFO conversations
Diffstat (limited to 'src')
-rw-r--r-- | src/sss_client/pam_sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c index 539acb0b..f35f06f2 100644 --- a/src/sss_client/pam_sss.c +++ b/src/sss_client/pam_sss.c @@ -413,7 +413,7 @@ static int do_pam_conversation(pam_handle_t *pamh, const int msg_style, } } while (state != SSS_PAM_CONV_DONE); - *_answer = answer; + if(answer) *_answer = answer; return PAM_SUCCESS; failed: |