[PATCH] ALSA: usb-audio: US16x08: Move overflow check before array access
Takashi Iwai
tiwai at suse.de
Mon Jun 13 07:41:12 CEST 2022
On Fri, 10 Jun 2022 18:57:32 +0200,
Daniil Dementev wrote:
>
> Buffer overflow could occur in the loop "while", due to accessing an
> array element before checking the index.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Daniil Dementev <d.dementev at ispras.ru>
> Reviewed-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list