From 977f5289a6969b5a31233bcfb4f998cdc42f53fa Mon Sep 17 00:00:00 2001 From: Christiaan Welvaart Date: Mon, 8 Aug 2011 10:32:22 -0400 Subject: gdmflexiserver: *session_id = NULL, not session_id = NULL The session_id assignment at the top of get_login_window_session_id was missing its leading asterisk, leading to potential crashes and undefined behavior. --- utils/gdmflexiserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c index 5fc2e9d2..7f33f980 100644 --- a/utils/gdmflexiserver.c +++ b/utils/gdmflexiserver.c @@ -617,7 +617,7 @@ get_login_window_session_id (DBusConnection *connection, char **sessions; int i; - session_id = NULL; + *session_id = NULL; sessions = NULL; g_debug ("checking if seat can activate sessions"); -- cgit v1.2.1