aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChengfeng Ye <cyeaa@connect.ust.hk>2021-10-24 03:46:11 -0700
committerTakashi Iwai <tiwai@suse.de>2021-10-26 08:02:16 +0200
commita0d21bb3279476c777434c40d969ea88ca64f9aa (patch)
treea710bb3a32acc98345c92374c5aa9bb4dcfd747c /tools/perf/scripts/python
parentALSA: memalloc: Fix a typo in snd_dma_buffer_sync() description (diff)
downloadlinux-a0d21bb3279476c777434c40d969ea88ca64f9aa.tar.gz
linux-a0d21bb3279476c777434c40d969ea88ca64f9aa.zip
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions