diff options
| author | Ted Gould <ted@gould.cx> | 2012-08-28 10:07:02 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2012-08-28 10:07:02 -0500 |
| commit | 645af42abcb4b3ac922705751d134d31d8959912 (patch) | |
| tree | 0ecd4c4ec254993687f9d7292decd3f9c910e099 /src | |
| parent | edbe36fbccacebc2de6d15d0bfa3d480dd69a135 (diff) | |
| download | libpam-x2go-645af42abcb4b3ac922705751d134d31d8959912.tar.gz libpam-x2go-645af42abcb4b3ac922705751d134d31d8959912.tar.bz2 libpam-x2go-645af42abcb4b3ac922705751d134d31d8959912.zip | |
Protecting from a crazy thing that LightDM does
Diffstat (limited to 'src')
| -rw-r--r-- | src/pam-freerdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c index 00b84db..8331a27 100644 --- a/src/pam-freerdp.c +++ b/src/pam-freerdp.c @@ -86,7 +86,7 @@ get_item (pam_handle_t * pamh, int type) } struct pam_response * responses = NULL; - if (conv->conv(1, &pmessage, &responses, conv->appdata_ptr) != PAM_SUCCESS) { + if (conv->conv(1, &pmessage, &responses, conv->appdata_ptr) != PAM_SUCCESS || responses == NULL) { return NULL; } |
