Segfault when org.freedesktop.fwupd service doesn't exist

Bug #1558816 reported by William Hua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Software
Expired
Medium
gnome-software (Ubuntu)
Fix Released
High
William Hua

Bug Description

In the fwupd plugin, gs_plugin_add_updates() can return FALSE (when org.freedesktop.fwupd service doesn't exist) without setting the error, causing a segfault. The fix is to steal the error_local and set error manually.

Changed in gnome-software (Ubuntu):
status: New → Triaged
importance: Undecided → High
status: Triaged → In Progress
assignee: nobody → William Hua (attente)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.19.93~git20160318.55deb24-0ubuntu1

---------------
gnome-software (3.19.93~git20160318.55deb24-0ubuntu1) xenial; urgency=medium

  * New upstream snapshot
  * debian/control:
    - Add Vcs-Bzr link
  * debian/ubuntu-one.png:
    - Move binary file from ubuntu-review-submit.patch into packaging
  * debian/patches/apt-plugin.patch:
    - Fix crash when authentication denied (LP: #1549890)
    - Fix changelog URL
    - Fix typo (LP: #1557213)
  * debian/patches/fwupd-error.patch:
    - Handle fwupd not existing (LP: #1558816)
  * debian/patches/appstream-refresh.patch:
    - Perform an apt update if there is no appstream available (LP: #1554023)
  * debian/patches/sideload-workaround.patch:
    - Applied upstream

 -- Robert Ancell <email address hidden> Fri, 18 Mar 2016 10:43:09 +1300

Changed in gnome-software (Ubuntu):
status: In Progress → Fix Released
Changed in gnome-software:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gnome-software:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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