---
src/lxdm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxdm.c b/src/lxdm.c
index a37f051..b36debf 100644
--- a/src/lxdm.c
+++ b/src/lxdm.c
@@ -1276,7 +1276,7 @@ void lxdm_do_login(struct passwd *pw, char *session, char
*lang, char *option)
LXSession *s,*prev;
lxdm_save_login(session,lang);
- if(!strcmp(session,"__default__"))
+ if(session && !strcmp(session,"__default__"))
session=NULL;
if(!session ||!session[0] || !lang || !lang[0])
--
2.15.1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list