回复: [PATCH] sound/isa/gus: fix null pointer dereference on pointer block

From: YE Chengfeng
Date: Tue Oct 26 2021 - 08:51:26 EST


Thanks so much,
-Chengfeng

-----邮件原件-----
发件人: Takashi Iwai <tiwai@xxxxxxx>
发送时间: 2021年10月26日 14:02
收件人: YE Chengfeng <cyeaa@xxxxxxxxxxxxxx>
抄送: perex@xxxxxxxx; tiwai@xxxxxxxx; alsa-devel@xxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
主题: Re: [PATCH] sound/isa/gus: fix null pointer dereference on pointer block

On Sun, 24 Oct 2021 12:46:11 +0200,
Chengfeng Ye wrote:
>
> 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@xxxxxxxxxxxxxx>

Thanks, applied.


Takashi