[Bug 1477983] Re: Zeitgeist plugin read/write after free on datasource registration

Robert Ancell robert.ancell at canonical.com
Wed Aug 12 23:24:49 UTC 2015


** Also affects: gedit (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: gedit (Ubuntu Wily)
   Importance: High
       Status: Triaged

** Also affects: gedit (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: gedit (Ubuntu Vivid)
       Status: New => Triaged

** Changed in: gedit (Ubuntu Wily)
   Importance: High => Medium

** Changed in: gedit (Ubuntu Vivid)
   Importance: Undecided => Medium

** Changed in: gedit (Ubuntu Trusty)
   Importance: Undecided => Medium

** Changed in: gedit (Ubuntu Trusty)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1477983

Title:
  Zeitgeist plugin read/write after free on datasource registration

Status in gedit:
  Unknown
Status in gedit package in Ubuntu:
  Triaged
Status in gedit source package in Trusty:
  Triaged
Status in gedit source package in Vivid:
  Triaged
Status in gedit source package in Wily:
  Triaged

Bug description:
  The Zeitgeist plugin creates a GPtrArray to give to libzeitgeist when
  registering a Zeitgeist datasource. libzeitgeist internally sinks this
  reference, but the plugin assumes the GPtrArray to still be available
  and later attempts to unref it.

  The attached patch adds a reference to the GPtrArray to keep it
  available until the end of the plugin's initialisation code, where it
  is unrefed. The patch is designed to integrate with quilt on top of
  gedit 3.10.4-0ubuntu10.

  The upstream bug report is
  https://bugzilla.gnome.org/show_bug.cgi?id=752824.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/1477983/+subscriptions



More information about the Ubuntu-sponsors mailing list