[PATCH] sound/isa/gus: fix null pointer dereference on pointer block
Takashi Iwai
tiwai at suse.de
Tue Oct 26 08:02:29 CEST 2021
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 at connect.ust.hk>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list