Merge lp:~donadigo/wingpanel-indicator-notifications/fix-g-str-hash-crash into lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications
Proposed by
Adam Bieńkowski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Felipe Escoto | ||||
Approved revision: | 123 | ||||
Merged at revision: | 124 | ||||
Proposed branch: | lp:~donadigo/wingpanel-indicator-notifications/fix-g-str-hash-crash | ||||
Merge into: | lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications | ||||
Diff against target: |
15 lines (+5/-0) 1 file modified
src/Widgets/NotificationsList.vala (+5/-0) |
||||
To merge this branch: | bzr merge lp:~donadigo/wingpanel-indicator-notifications/fix-g-str-hash-crash | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Felipe Escoto | Approve | ||
Review via email: mp+311348@code.launchpad.net |
Commit message
* Fix g_str_hash crashes.
Description of the change
Fixes bug #1641270: "latest update broke wingpanel".
This will check if the notification has a valid app info with not it's ID which will prevent from g_str_hash segfaults in some cases.
This probably should be done differently and better in the NotificationsMo
To post a comment you must log in.
It looks like a sane fix, but is there a way to trigger the crash without the patch? :)