summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChengfeng Ye <cyeaa@connect.ust.hk>2021-10-24 03:46:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-26 11:58:43 +0100
commit3e28e083dcdf03a18a083f8a47b6bb6b1604b5be (patch)
tree867a95e7d473340626ed3471d85f0480d5d15537 /arch
parentfc4c685394e64194315ead9c546f0c37f569f540 (diff)
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions