[alsa-devel] [PATCH v2] ASoC: damp: Reset dapm wcache after freeing damp widgets

Mark Brown broonie at kernel.org
Tue Nov 10 19:53:08 CET 2015


On Tue, Nov 10, 2015 at 06:12:42PM +0200, Jyri Sarha wrote:
> If there is anything in damp->path_source_cache or
> damp->path_sink_cache, it can not be valid after the widgets have been
> freed. Without this patch a repeated remove and load of a machine
> driver may cause NULL pointer reference in dapm_wcache_lookup() when a
> freed widget, not belonging to any list, is haunting in the wcache.

Please try to check the spelling in your subject lines!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151110/7e11a3e8/attachment.sig>


More information about the Alsa-devel mailing list