diff options
| author | Jaroslav Kysela <[email protected]> | 2024-12-17 10:07:07 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-12-20 08:51:36 +0000 |
| commit | f25a51b47c61540585a9e8a4e16f91677ebcbbc4 (patch) | |
| tree | 18396b17c9e4ce7c3c1b5b450e628600ca5c5752 /net/unix/af_unix.c | |
| parent | ALSA: compress_offload: avoid 64-bit get_user() (diff) | |
| download | kernel-f25a51b47c61540585a9e8a4e16f91677ebcbbc4.tar.gz kernel-f25a51b47c61540585a9e8a4e16f91677ebcbbc4.zip | |
ALSA: compress_offload: use safe list iteration in snd_compr_task_seq()
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/[email protected]/
Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")
Reported-by: Dan Carpenter <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
