From: Takashi Iwai <tiwai@suse.de>
To: songxiebing <songxiebing@kylinos.cn>
Cc: tiwai@suse.com, perex@perex.cz, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] ALSA: hda/ca0132: set codec->spec to NULL after freeing
Date: Wed, 12 Aug 2026 07:35:12 +0200 [thread overview]
Message-ID: <87ldab2967.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260812033019.635010-1-songxiebing@kylinos.cn>
On Wed, 12 Aug 2026 05:30:19 +0200,
songxiebing wrote:
>
> From: Bob Song <songxiebing@kylinos.cn>
>
> ca0132_free() and dbpro_free() call kfree(codec->spec) without
> setting codec->spec to NULL afterward, leaving a dangling pointer.
> Set it to NULL.
>
> Signed-off-by: Bob Song <songxiebing@kylinos.cn>
Applied both patches to for-next branch. Thanks.
Takashi
prev parent reply other threads:[~2026-08-12 5:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 3:30 [PATCH 1/2] ALSA: hda/ca0132: set codec->spec to NULL after freeing songxiebing
2026-08-12 5:35 ` Takashi Iwai [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=87ldab2967.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=songxiebing@kylinos.cn \
--cc=tiwai@suse.com \
/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