diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2016-02-19 15:21:18 +0100 |
---|---|---|
committer | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2016-02-19 15:21:18 +0100 |
commit | 5181ab917d6407cb57043e98955f0de1614366ea (patch) | |
tree | 5852ce7d7d900700c3ed11da5a346b12f4129dd1 /po | |
parent | a972e1e0b3af9dbe490c6433322c635d9e5ad875 (diff) |
udev/path_id: correct segmentation fault due to missing NULL check
Running "udevadm test-builtin path_id /sys/devices/platform/" results
in a segmentation fault.
The problem is that udev_device_get_subsystem(dev) might return NULL
in a streq() call. Solve this problem by using streq_ptr() instead.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions