diff options
author | 2017-12-04 15:31:49 +0900 | |
---|---|---|
committer | 2017-12-04 09:15:55 +0100 | |
commit | 89b89d121ffcf8d9546633b98ded9d18b8f75891 (patch) | |
tree | d1e027d564b848364fc4238249995fe9c8d0ed22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: usb-audio: Fix out-of-bound error (diff) | |
download | wireguard-linux-89b89d121ffcf8d9546633b98ded9d18b8f75891.tar.xz wireguard-linux-89b89d121ffcf8d9546633b98ded9d18b8f75891.zip |
ALSA: usb-audio: Add check return value for usb_string()
snd_usb_copy_string_desc() returns zero if usb_string() fails.
In case of failure, we need to check the snd_usb_copy_string_desc()'s
return value and add an exception case
Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions