]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: caiaq: Fix stray URB at probe error path
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Oct 2017 14:39:02 +0000 (16:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Oct 2017 15:01:18 +0000 (17:01 +0200)
commit99fee508245825765ff60155fed43f970ff83a8f
tree6b8ed4cb61f1485ed5d129c2ad8203a48b50a0de
parent71105998845fb012937332fe2e806d443c09e026
ALSA: caiaq: Fix stray URB at probe error path

caiaq driver doesn't kill the URB properly at its error path during
the probe, which may lead to a use-after-free error later.  This patch
addresses it.

Reported-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/device.c