kernel_optimize_test/sound
Chengfeng Ye 1ac6cd87d8 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:39:11 +01:00
..
ac97 ALSA: ac97: fix PM reference leak in ac97_bus_remove() 2021-07-20 16:05:40 +02:00
aoa
arm
atmel
core ALSA: ISA: not for M68K 2021-11-26 10:39:10 +01:00
drivers ALSA: aloop: Fix initialization of controls 2021-04-14 08:41:56 +02:00
firewire ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol 2021-07-20 16:05:45 +02:00
hda ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec 2021-11-26 10:39:10 +01:00
i2c
isa ALSA: gus: fix null pointer dereference on pointer block 2021-11-26 10:39:11 +01:00
mips
oss
parisc
pci ALSA: ISA: not for M68K 2021-11-26 10:39:10 +01:00
pcmcia
ppc ALSA: ppc: fix error return code in snd_pmac_probe() 2021-07-20 16:05:43 +02:00
sh
soc ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect 2021-11-26 10:39:09 +01:00
sparc
spi
synth ALSA: synth: missing check for possible NULL after the call to kstrdup 2021-11-18 14:03:40 +01:00
usb ALSA: usb-audio: Add registration quirk for JBL Quantum 400 2021-11-18 14:03:39 +01:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c