[PATCH] ASoC: core: Fix use-after-free in snd_soc_exit()

Chen Zhongjin chenzhongjin at huawei.com
Mon Oct 31 14:47:58 CET 2022


On 2022/10/31 21:05, Mark Brown wrote:
> On Sat, Oct 29, 2022 at 12:34:19PM +0800, Chen Zhongjin wrote:
>
>> Since snd_soc_util_exit is only used in snd_soc_init() and snd_soc_exit(),
>> could you please add this fix to the patch and delete _exit for
>> snd_soc_util_exit()?
>> Or should I send a v2 version to replace current one?
> As the mail you got when the patch was applied said:
>
> | If any updates are required or you are submitting further changes they
> | should be sent as incremental updates against current git, existing
> | patches will not be replaced.
>
> so please submit another patch on top of what's there currently as
> normal.

Thanks for answer! Will remember for the next time.

Have send the fix up patch:

ASoC: soc-utils: Remove __exit for snd_soc_util_exit()


Best,

Chen



More information about the Alsa-devel mailing list