db737117e9
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> |
||
---|---|---|
.. | ||
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 |