[Bug 1154370] Re: [precise SRU] crash due to improper handling of "/" in GSettings

Launchpad Bug Tracker 1154370 at bugs.launchpad.net
Thu Oct 17 16:08:27 UTC 2013


This bug was fixed in the package glib2.0 - 2.32.4-0ubuntu1

---------------
glib2.0 (2.32.4-0ubuntu1) precise; urgency=low

  * New upstream release (LP: #1154657)
    + GSettings: Don't crash due to incorrect handling of "/" (LP: #1154370)
    + gio: Stop ignoring defaults.list wrongly (LP: #901171)
  * Update watch file to track 2.32 series for Precise
  * debian/control{,.in}: Require libelf-dev >= 0.8.12, per configure.ac
  * gnetworkmonitor_dont_leak_networks.patch: Drop, included in this release.
  * Install bash completion files into /etc/bash_completion.d; overriding an
    upstream change (not appropriate for Precise) to install into
    /usr/share/bash-completion/completions. This change also names the
    completion files correctly (after the commands they are completing for),
    so they will start working now.
 -- Iain Lane <iain.lane at canonical.com>   Wed, 13 Mar 2013 10:45:56 +0000

** Changed in: glib2.0 (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1154370

Title:
  [precise SRU] crash due to improper handling of "/" in GSettings

Status in “glib2.0” package in Ubuntu:
  Fix Released

Bug description:
  GSettings in GLib 2.32.3 has a bug where the "changed" signal is
  emitted for child settings objects as if they were keys ending with
  "/".

  That was fixed upstream and merged into the glib-2-32 stable branch
  here:
  https://git.gnome.org/browse/glib/commit/?h=glib-2-32&id=e6f659a898595ba944bd02f0509b14694d1c26e7

  GLib 2.32.4 was since released and contains the fix.


  This fix is needed because there exists software (muffin) that
  contains code along these lines:

  
  void
  change_event_handler (GSettings *settings, const gchar *key, gpointer user_data)
  {
    ...
    g_settings_get_value (settings, key);
    ...
  }

  and it's invalid to pass a key containing "/" to
  g_settings_get_value() (causing crashes).

  This only happens when entire paths are reset (such as when running
  'dconf update').  That makes the issue relatively rare but it's
  affecting corporate deployments (Google, specifically).

  We should either do an SRU with just the patch linked to above to
  (ideally) QA and SRU the entire GLib 2.32.4 release to precise.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1154370/+subscriptions



More information about the foundations-bugs mailing list