Re: [PATCH] ALSA: compress_offload: use safe list iteration in snd_compr_task_seq()

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



On Tue, 17 Dec 2024 11:07:07 +0100,
Jaroslav Kysela wrote:
> 
> The sequence function can call snd_compr_task_free_one(). Use
> list_for_each_entry_safe_reverse() to make sure that the used
> pointers are safe.
> 
> Link: https://lore.kernel.org/linux-sound/f2769cff-6c7a-4092-a2d1-c33a5411a182@stanley.mountain/
> Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Cc: Vinod Koul <vkoul@xxxxxxxxxx>
> Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

Applied now.  Thanks.


Takashi




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux