[alsa-devel] [PATCH] ASoC: topology: Fix kcontrol name string handling.

Mark Brown broonie at kernel.org
Mon Mar 19 08:06:43 CET 2018


On Wed, Mar 14, 2018 at 08:43:19PM +0000, Liam Girdwood wrote:
> Fix the topology kcontrol string handling so that string pointer
> references are strdup()ed instead of being copied. This fixes issues
> with kcontrol templates on the stack or ones that are freed. Remember
> and free the strings too when topology is unloaded.

This doesn't seem to apply against current code (I was going to apply it
as a fix but it doesn't seem to apply against -next either).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180319/59971dcc/attachment.sig>


More information about the Alsa-devel mailing list