[PATCH] ALSA: timer: Unconditionally unlink slave instances, too
Takashi Iwai
tiwai at suse.de
Fri Nov 5 10:13:58 CET 2021
On Wed, 03 Nov 2021 17:07:07 +0100,
Takashi Iwai wrote:
>
> Like the previous fix (commit c0317c0e8709 "ALSA: timer: Fix
> use-after-free problem"), we have to unlink slave timer instances
> immediately at snd_timer_stop(), too. Otherwise it may leave a stale
> entry in the list if the slave instance is freed before actually
> running.
>
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
This patch changed the behavior of snd_timer_stop_slav(), it doesn't
return -EBUSY. I'll submit the revised patch to cover that, too.
Takashi
More information about the Alsa-devel
mailing list