After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737394 - gdm crashes in act_user_is_loaded when username is empty
gdm crashes in act_user_is_loaded when username is empty
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.10.x
Other Linux
: Normal minor
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-25 22:47 UTC by Ryan Tandy
Modified: 2016-01-12 22:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryan Tandy 2014-09-25 22:47:29 UTC
(Downstream bug: http://pad.lv/807888)

I haven't verified this with anything newer than 3.10 (specifically, the Ubuntu GNOME 14.10 daily image from 20140923), but looking at git for gdm and accountsservice, I expect it to still happen in master.

Choosing "Not listed?" in gdm and pressing Enter without entering anything leads to gdm-session-worker SEGVing. In gdm_session_load, act_user_manager_get_user("") returns NULL, and then act_user_is_loaded dereferences that.

At least recent gdm recovers gracefully from gdm-session-worker crashing (older ones just hang), but it does still trigger the crash reporter.