Re: [PATCH] ALSA: pcm: Fix id copying in snd_pcm_set_sync_per_card()

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



On Fri, 05 Jul 2024 09:58:28 +0200,
Jaroslav Kysela wrote:
> 
> Avoid to use strncpy and do proper length limiting (12 bytes)
> to avoid out of array access.
> 
> Fixes: d712c58c55d9 ("ALSA: pcm: optimize and clarify stream synchronization
>  ID API")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202407050501.o5Z3bibi-lkp@xxxxxxxxx/
> Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

Thanks, applied.


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