desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #00446
[Bug 822470] Re: lightdm-gtk-greeter segfaults in get_user_iter when adding a new user
** Branch linked: lp:~ubuntu-desktop/lightdm/ubuntu
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/822470
Title:
lightdm-gtk-greeter segfaults in get_user_iter when adding a new user
Status in Light Display Manager:
Fix Committed
Status in “lightdm” package in Ubuntu:
Fix Released
Bug description:
Steps to reproduce with lightdm-gtk-greeter 0.9.2:
1) Switch to another vt or login through ssh
2) sudo adduser someusername
3) lightdm-gtk-greeter will crash
The segfault occurs when user_changed_cb is triggered. When a new user
is added, the user is appended to the end of the list, so when
user_changed_cb calls get_user_iter, it will search through every row
before finally finding the user at the end. However, the name for the
"Other..." user is NULL, so when strcmp is called, the greeter
crashes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/822470/+subscriptions