Crash on click if sensors list in preferences is empty
Bug #881273 reported by
Alexander Usyskin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hardware Sensors Indicator |
Fix Released
|
Medium
|
Alex Murray |
Bug Description
I have empty sensors list in preferences.
Indicator crashes on mouse click in list control.
I found that NULL check is missing.
Patch for latest bzr code attached.
To post a comment you must log in.
Thanks for the patch - it turns out the error is a bit more involved than the missing NULL check, so I've just pushed a fix to git (https:/ /github. com/alexmurray/ indicator- sensors/ commit/ 556c469413e7a5f 9e6776b5f49e80d 8f27f9cb29) which should be mirrored in bzr soon.