[alsa-devel] [PATCH 2/2] ASoC: dapm: Fix kcontrol path list corruption

Mark Brown broonie at kernel.org
Thu Aug 1 20:45:11 CEST 2013

On Thu, Aug 01, 2013 at 02:08:07PM +0200, Lars-Peter Clausen wrote:
> When calling krealloc for the kcontrol data the items in the path list that
> point back to the head of the list will now point to freed memory, which causes
> the list to become corrupted. To fix this, instead of resizing the whole data
> struct, only resize the widget list.

Applied, thanks - in conjunction with your fix for the list_empty()
check this now boots fine for me.
-------------- 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/20130801/415bcddf/attachment.sig>

More information about the Alsa-devel mailing list