Takashi Iwai 7b986c7430 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>
2024-08-08 11:15:55 +02:00
..
2024-08-08 07:49:47 +02:00
2023-08-18 15:42:06 +02:00
2020-07-07 12:03:17 +02:00
2023-10-18 14:43:21 -07:00
2024-08-08 07:49:47 +02:00