[alsa-devel] [PATCH 2/5] ASoC: DAPM: Fix use after free in error path

Mark Brown broonie at kernel.org
Mon Oct 28 17:35:21 CET 2013


On Mon, Oct 28, 2013 at 02:21:47PM +0100, Takashi Iwai wrote:
> The error message in dapm_create_or_share_mixmux_kcontrol() refers to
> the string "name", which may be "long_name" that has been already
> freed.  Delay the release of long_name to the place just before return.

Applied, thanks.  Please use "dapm" not "DAPM" in the subject.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131028/0d5969b0/attachment.sig>


More information about the Alsa-devel mailing list