From: YE Chengfeng <cyeaa@connect.ust.hk>
To: Takashi Iwai <tiwai@suse.de>
Cc: "perex@perex.cz" <perex@perex.cz>,
"tiwai@suse.com" <tiwai@suse.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: 回复: [PATCH] sound/isa/gus: fix null pointer dereference on pointer block
Date: Tue, 26 Oct 2021 12:51:18 +0000 [thread overview]
Message-ID: <TYCP286MB1188D629BAF8D3F708CDE76F8A849@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <s5hlf2gxr0q.wl-tiwai@suse.de>
Thanks so much,
-Chengfeng
-----邮件原件-----
发件人: Takashi Iwai <tiwai@suse.de>
发送时间: 2021年10月26日 14:02
收件人: YE Chengfeng <cyeaa@connect.ust.hk>
抄送: perex@perex.cz; tiwai@suse.com; alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org
主题: 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@connect.ust.hk>
Thanks, applied.
Takashi
prev parent reply other threads:[~2021-10-26 12:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-24 10:46 [PATCH] sound/isa/gus: fix null pointer dereference on pointer block Chengfeng Ye
2021-10-26 6:02 ` Takashi Iwai
2021-10-26 12:51 ` YE Chengfeng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TYCP286MB1188D629BAF8D3F708CDE76F8A849@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM \
--to=cyeaa@connect.ust.hk \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).