Ticket #892 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

libmokoui2 segfaults since r3023 when loading stock icons

Reported by: abraxa@… Owned by: mickey@…
Priority: highest Milestone:
Component: openmoko-libs Version: current svn head
Severity: blocker Keywords:
Cc: buglog@…, thomas@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

On systems where one or more icons are missing, libmokoui2 can segfault because
it'll try to unref a pixbuf that might be NULL. As a result, all applications
using libmokoui2 crash on current OpenMoko? images since r3023.

Proposed bugfix is attached.

-Soeren

Attachments

libmokoui2_stock_loading.patch (1.2 KB) - added by abraxa@… 6 years ago.
Proposed patch

Change History

Changed 6 years ago by abraxa@…

Proposed patch

comment:1 Changed 6 years ago by thomas@…

  • Status changed from new to closed
  • Resolution set to fixed

I already fixed this issue in r3044 before I saw this bug report. Thanks for the
patch anyway.

Note: See TracTickets for help on using tickets.