linux/sound/usb/usx2y
Takashi Iwai 16e373fe61 ALSA: usx2y: Fix potential NULL dereference
commit 7686e34852 upstream.

The error handling code in usX2Y_rate_set() may hit a potential NULL
dereference when an error occurs before allocating all us->urb[].
Add a proper NULL check for fixing the corner case.

Reported-by: Lin Yi <teroincn@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200420075529.27203-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-29 16:33:15 +02:00
..
Makefile
us122l.c
us122l.h
usX2Yhwdep.c
usX2Yhwdep.h
usb_stream.c
usb_stream.h
usbus428ctldefs.h
usbusx2y.c
usbusx2y.h
usbusx2yaudio.c
usx2y.h
usx2yhwdeppcm.c
usx2yhwdeppcm.h