Bug 337874 - segfault in Gtk::IconTheme::get_search_path
segfault in Gtk::IconTheme::get_search_path
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Jonathon Jongsma
gtkmm-forge
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-04-10 02:05 UTC by Jonathon Jongsma
Modified: 2006-04-12 00:53 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for segfault in get_search_path (3.14 KB, patch)
2006-04-10 02:07 UTC, Jonathon Jongsma
none Details | Diff | Review

Description Jonathon Jongsma 2006-04-10 02:05:24 UTC
Gtk::IconTheme::get_search_path() dereferences a NULL pointer, which causes a segfault whenever it is called.  Attached is a patch that fixes this issue.  Is it ok if I commit this change?
Comment 1 Jonathon Jongsma 2006-04-10 02:07:04 UTC
Created attachment 63073 [details] [review]
fix for segfault in get_search_path
Comment 2 Murray Cumming 2006-04-11 15:26:48 UTC
That looks good. Please do commit it to 2.8 and HEAD.
Comment 3 Jonathon Jongsma 2006-04-12 00:53:22 UTC
fixed in 2-8 and HEAD

Note You need to log in before you can comment on or make changes to this bug.