summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2014-03-24 13:45:13 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-15 14:43:01 -0700
commit21c5e8408d105386c54603aed2cae9195143d87d (patch)
tree8e69e1885848966a147e88ca88b295c2ad6e887c /tools/perf/scripts/python
parentec03ab77cc2c39d115118fcd4fc11a5801cbb70e (diff)
staging/usbip: userspace - fix usbipd SIGSEGV from refresh_exported_devices()
refresh_exported_devices() doesn't check udev_device_new_from_syspath() return value and passed in null dev to udev_device_get_driver() resulting in a segmentation fault. Change it to check for null return value from both udev_device_new_from_syspath() and udev_device_get_driver(). Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions