kernel-fxtec-pro1x/sound/usb/usx2y
Takashi Iwai db737117e9 ALSA: usx2y: Fix potential NULL dereference
commit 7686e3485253635c529cdd5f416fc640abaf076f 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:31:28 +02:00
..
Makefile
us122l.c
us122l.h
usb_stream.c
usb_stream.h
usbus428ctldefs.h
usbusx2y.c
usbusx2y.h
usbusx2yaudio.c
usx2y.h
usX2Yhwdep.c
usX2Yhwdep.h
usx2yhwdeppcm.c
usx2yhwdeppcm.h