]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cs46xx: Potential NULL dereference in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Jan 2019 07:43:30 +0000 (10:43 +0300)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Jan 2019 08:02:54 +0000 (09:02 +0100)
commita690a44a6fa9e16fec21548a7c06f14c5194d281
tree2b79fdf07f434e2739cf22297e65fef8abef5079
parente15e3deecb772c517a10aefc6ecbcb503c7646d9
ALSA: cs46xx: Potential NULL dereference in probe

The "chip->dsp_spos_instance" can be NULL on some of the ealier error
paths in snd_cs46xx_create().

Reported-by: "Yavuz, Tuba" <tuba@ece.ufl.edu>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/dsp_spos.c