diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-10-09 15:26:27 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-09 17:17:09 +0300 |
commit | 54a4b2b45817ea2365b40c923c098a26af0c0dbb (patch) | |
tree | 74fce302ae431cb6347539adc5705c73ad58aa0a /tools/perf/scripts/python/stackcollapse.py | |
parent | cb02ffc76a53b5ea751b79b8d4f4d180e5868475 (diff) | |
download | linux-54a4b2b45817ea2365b40c923c098a26af0c0dbb.tar.xz |
ALSA: line6: Fix NULL dereference at podhd_disconnect()
When podhd_init() failed with the acquiring a ctrl i/f, the line6
helper still calls the disconnect callback that eventually calls again
usb_driver_release_interface() with the NULL intf.
Put the proper NULL check before calling it for avoiding an Oops.
Fixes: fc90172ba283 ("ALSA: line6: Claim pod x3 usb data interface")
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions