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
wss
adlib.c
als100.c
azt2320.c
cmi8328.c
cmi8330.c
es18xx.c
Kconfig ALSA: ISA: not for M68K 2021-11-26 10:47:16 +01:00
Makefile
opl3sa2.c
sc6000.c
sscape.c