linux/sound/isa
Chengfeng Ye c6d2cefdd0 ALSA: gus: fix null pointer dereference on pointer block
[ Upstream commit a0d21bb3279476c777434c40d969ea88ca64f9aa ]

The pointer block return from snd_gf1_dma_next_block could be
null, so there is a potential null pointer dereference issue.
Fix this by adding a null check before dereference.

Signed-off-by: Chengfeng Ye <cyeaa@connect.ust.hk>
Link: https://lore.kernel.org/r/20211024104611.9919-1-cyeaa@connect.ust.hk
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:47:16 +01:00
..
ad1816a
ad1848
cs423x
es1688
galaxy
gus ALSA: gus: fix null pointer dereference on pointer block 2021-11-26 10:47:16 +01:00
msnd
opti9xx
sb ALSA: sb: Fix potential ABBA deadlock in CSP driver 2021-07-28 13:30:59 +02:00
wavefront ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-06-24 17:50:11 +02:00
wss
Kconfig ALSA: ISA: not for M68K 2021-11-26 10:47:16 +01:00
Makefile
adlib.c
als100.c
azt2320.c
cmi8328.c
cmi8330.c ALSA: isa: Fix error return code in snd_cmi8330_probe() 2021-07-20 16:10:50 +02:00
es18xx.c
opl3sa2.c
sc6000.c
sscape.c