Re: [PATCH] ALSA: timer: Unconditionally unlink slave instances, too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux