diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-08 12:14:42 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-08 12:15:55 +0300 |
commit | 7b986c7430a6bb68d523dac7bfc74cbd5b44ef96 (patch) | |
tree | c0b052b9ec4283a426e0d0859eed359858098ad0 /scripts/lib/kdoc/kdoc_files.py | |
parent | 504dc9f5e62e3beef2554c453576e84993053647 (diff) | |
download | linux-7b986c7430a6bb68d523dac7bfc74cbd5b44ef96.tar.xz |
ALSA: asihpi: Fix potential OOB array access
ASIHPI driver stores some values in the static array upon a response
from the driver, and its index depends on the firmware. We shouldn't
trust it blindly.
This patch adds a sanity check of the array index to fit in the array
size.
Link: https://patch.msgid.link/20240808091454.30846-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions