Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
gdm
gdm-worker-ignore-username.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-worker-ignore-username.patch of Package gdm
From 29def8761bbac04cf84c7f83722bed447d5d03c6 Mon Sep 17 00:00:00 2001 From: Ray Strode <rstrode@redhat.com> Date: Wed, 8 Jan 2014 11:46:24 -0500 Subject: [PATCH] worker: ignore '' username Some PAM modules set a "" username to mean "user not set yet", apparently, instead of NULL. This commit guards against that to prevent a crash. Red-Hat-Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=965370 https://bugzilla.gnome.org/show_bug.cgi?id=721803 --- daemon/gdm-session-worker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c index 8c4dc3a..f285013 100644 --- a/daemon/gdm-session-worker.c +++ b/daemon/gdm-session-worker.c @@ -655,6 +655,7 @@ gdm_session_worker_update_username (GdmSessionWorker *worker) * to keep trying to read settings) */ if (worker->priv->username != NULL && + worker->priv->username[0] != '\0' && !gdm_session_settings_is_loaded (worker->priv->user_settings)) { attempt_to_load_user_settings (worker, worker->priv->username); } -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor