Skip to content
Commit a0d21bb3 authored by Chengfeng Ye's avatar Chengfeng Ye Committed by Takashi Iwai
Browse files

ALSA: gus: fix null pointer dereference on pointer block



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: default avatarChengfeng Ye <cyeaa@connect.ust.hk>
Link: https://lore.kernel.org/r/20211024104611.9919-1-cyeaa@connect.ust.hk


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f917c04f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment