commit | a0d21bb3279476c777434c40d969ea88ca64f9aa | [log] [tgz] |
---|---|---|
author | Chengfeng Ye <cyeaa@connect.ust.hk> | Sun Oct 24 03:46:11 2021 -0700 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Oct 26 08:02:16 2021 +0200 |
tree | a710bb3a32acc98345c92374c5aa9bb4dcfd747c | |
parent | f917c04fac45b70ff38633675f86ab4b51782205 [diff] |
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: 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>