aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/wm8960.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-04-20 09:55:29 +0200
committerTakashi Iwai <tiwai@suse.de>2020-04-21 08:00:41 +0200
commit7686e3485253635c529cdd5f416fc640abaf076f (patch)
treed85bab8e433de3e7f18b34ec34e63b326265f67a /sound/soc/codecs/wm8960.c
parentALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2 (diff)
downloadwireguard-linux-7686e3485253635c529cdd5f416fc640abaf076f.tar.xz
wireguard-linux-7686e3485253635c529cdd5f416fc640abaf076f.zip
ALSA: usx2y: Fix potential NULL dereference
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>
Diffstat (limited to 'sound/soc/codecs/wm8960.c')
0 files changed, 0 insertions, 0 deletions