diff options
author | 2019-03-04 17:00:02 -0600 | |
---|---|---|
committer | 2019-03-13 11:27:06 +0100 | |
commit | a2c6433ee5a35a8de6d563f6512a26f87835ea0f (patch) | |
tree | 800f577e386fb939b01b35316db3a5b3adbf3f69 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ALSA: hda: Avoid NULL pointer dereference at snd_hdac_stream_start() (diff) | |
download | wireguard-linux-a2c6433ee5a35a8de6d563f6512a26f87835ea0f.tar.xz wireguard-linux-a2c6433ee5a35a8de6d563f6512a26f87835ea0f.zip |
ALSA: usx2y: Fix potential NULL pointer dereference
usb_alloc_urb() can fail due to kmalloc failure and push the error
upstream. Further this can cause a NULL pointer dereference in
init_pipe_urbs(). This patch avoids such a scenario.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions