uninitialised list pointer in configuration directory handling

Bug #1203711 reported by Andy Whitcroft
22
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
High
Robert Ancell
lightdm (Ubuntu)
Fix Released
High
Robert Ancell

Bug Description

We seem to have an uninitialised GList pointer in the directory handling for the configuration directory.

    main(...)
    [...]
        if (config_d_dir)
        {
            GDir *dir;
            GList *files, *link;
    [...]
                    files = g_list_append (files, g_strdup (name));
    [...]
    }

This leads to SIGSEGV during startup. Oddly this is rarely triggered, I would expect this to be common.

Tags: patch

Related branches

Revision history for this message
Andy Whitcroft (apw) wrote :

Debdiff attached

tags: added: patch
Changed in lightdm (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
importance: Undecided → High
Revision history for this message
Andy Whitcroft (apw) wrote :

Proposed the branch below for merging to trunk:

    lp:~apw/lightdm/lp1203711-fix-uninitialised-glist

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:lightdm at revision None, scheduled for release in lightdm, milestone Unknown

Changed in lightdm:
status: New → Fix Committed
Changed in lightdm:
status: Fix Committed → Fix Released
Changed in lightdm (Ubuntu):
status: New → Fix Committed
Changed in lightdm:
importance: Undecided → High
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.7.7-0ubuntu1

---------------
lightdm (1.7.7-0ubuntu1) saucy; urgency=low

  * New upstream release:
    - Fix uninitialized pointer introduced in 1.7.3
    - Enable compile warnings and fix code generating warnings
  * debian/patches/50_ubuntu_fix_uninitialised_pointer.patch:
    - Applied upstream:
 -- Robert Ancell <email address hidden> Tue, 23 Jul 2013 11:23:47 +1200

Changed in lightdm (Ubuntu):
status: Fix Committed → Fix Released
Changed in lightdm:
milestone: none → 1.7.7
Revision history for this message
Juliusz Kotarski (ko-ta-ba) wrote :

nie wiem co powiedzieć

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.