diff options
author | Daniil Dementev <[email protected]> | 2022-06-10 19:57:32 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-06-13 07:40:08 +0200 |
commit | 3ddbe35d9a2ebd4924d458e0246b4ba6c13bb456 (patch) | |
tree | da607f141fcd72640a7dbaf19ec6345f7599a13a /scripts/clang-tools/gen_compile_commands.py | |
parent | b2e6b3d9bbb0a59ba7c710cc06e44cc548301f5f (diff) |
ALSA: usb-audio: US16x08: Move overflow check before array access
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 <[email protected]>
Reviewed-by: Alexey Khoroshilov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions