From 645af42abcb4b3ac922705751d134d31d8959912 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 28 Aug 2012 10:07:02 -0500 Subject: Protecting from a crazy thing that LightDM does --- src/pam-freerdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pam-freerdp.c') 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; } -- cgit v1.2.3