Variables defined twice in config files lead to crash
Bug #1377373 reported by
Roland (Rolandixor) Taylor
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Critical
|
Robert Ancell | ||
1.10 |
Fix Released
|
Critical
|
Robert Ancell | ||
1.12 |
Fix Released
|
Critical
|
Robert Ancell | ||
lightdm (Debian) |
Fix Released
|
Unknown
|
|||
lightdm (Ubuntu) |
Fix Released
|
Critical
|
Robert Ancell | ||
Trusty |
Fix Released
|
Critical
|
Robert Ancell | ||
Utopic |
Fix Released
|
Critical
|
Robert Ancell |
Bug Description
[Impact]
Having the same configuration variable defined in two places causes LightDM to a double free and potentially crash.
[Test Case]
1. Install two configuration files in /etc/lightdm/
2. Run LightDM
Expected result:
LightDM runs correctly.
Observed result:
LightDM double frees a variable (seen with valgrind) and can crash.
[Regression Potential]
Low. The fix is not to double free the variable.
Changed in lightdm (Debian): | |
status: | Unknown → Incomplete |
summary: |
- Lightdm crashes on startup + Variables defined twice in config files lead to crash |
Changed in lightdm: | |
importance: | Undecided → Critical |
status: | New → Fix Committed |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Trusty): | |
status: | New → Triaged |
Changed in lightdm (Ubuntu Utopic): | |
status: | New → In Progress |
Changed in lightdm (Ubuntu Trusty): | |
status: | Triaged → In Progress |
importance: | Undecided → Critical |
Changed in lightdm (Ubuntu Utopic): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Trusty): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Utopic): | |
importance: | Undecided → Critical |
Changed in lightdm: | |
milestone: | none → 1.13.0 |
Changed in lightdm (Debian): | |
status: | Incomplete → Fix Released |
description: | updated |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
Changed in lightdm (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
You've probably chose to keep your current configuration file (/etc/lightdm/ lightdm. conf) on LightDM upgrade.
If it's so, comment/erase these lines there:
greeter- session= lightdm- greeter wrapper= /etc/X11/ Xsession
session-