kernel_optimize_test/sound/isa/gus
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
..
gus_dma.c ALSA: gus: fix null pointer dereference on pointer block 2021-11-26 10:39:11 +01:00
gus_dram.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_io.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
gus_irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_main.c Revert "ALSA: gus: add a check of the status of snd_ctl_add" 2021-06-03 09:00:41 +02:00
gus_mem_proc.c ALSA: info: Make snd_info_entry_ops as const 2020-01-03 09:24:18 +01:00
gus_mem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_mixer.c ALSA: isa: Constify snd_kcontrol_new items 2020-01-03 09:24:25 +01:00
gus_pcm.c ALSA: isa: Drop superfluous ioctl PCM ops 2019-12-11 07:25:28 +01:00
gus_reset.c ALSA: isa/gus: remove -Wmissing-prototypes warnings 2020-07-07 11:59:59 +02:00
gus_tables.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gus_timer.c ALSA: Constify snd_timer_hardware definitions 2020-01-03 09:24:07 +01:00
gus_uart.c ALSA: isa/gus: remove 'set but not used' warning 2020-07-07 12:02:24 +02:00
gus_volume.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
gusclassic.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
gusextreme.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
gusmax.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
interwave-stb.c
interwave.c ALSA: gus: More constifications 2020-01-05 16:15:03 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00