Crash on click if sensors list in preferences is empty

Bug #881273 reported by Alexander Usyskin
6
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.

Revision history for this message
Alexander Usyskin (sanniu) wrote :
Revision history for this message
Alex Murray (alexmurray) wrote :

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/556c469413e7a5f9e6776b5f49e80d8f27f9cb29) which should be mirrored in bzr soon.

Changed in indicator-sensors:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Alex Murray (alexmurray)
Revision history for this message
Alexander Usyskin (sanniu) wrote :

Thanks for quick reply.
Unfortunately, can't check this - I've fixed my setup to pick a correct sensors...

Revision history for this message
Alex Murray (alexmurray) wrote :

Fixed in 0.1 release

Changed in indicator-sensors:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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