GNOME Bugzilla – Bug 696763
Don't crash on missing udev properties
Last modified: 2016-03-31 13:22:07 UTC
32001c4 added support for new udev properties added in recent udev versions that are meant to replace the deprecated OSINFO_ properties. However get_decoded_udev_property() is not dealing properly with missing udev properties, and tries to call strlen() on a NULL string when this happens, causing a crash. This should fix rhbz#928495
Created attachment 240019 [details] [review] Don't crash on missing udev properties
Review of attachment 240019 [details] [review]: Thanks for the quick action! ACK
*** Bug 696994 has been marked as a duplicate of this bug. ***
Attachment 240019 [details] pushed as 34cbb6c - Don't crash on missing udev properties