diff options
author | 2023-01-19 00:22:59 -0800 | |
---|---|---|
committer | 2023-01-19 11:29:16 +0100 | |
commit | b9cee506da2b7920b5ea02ccd8e78a907d0ee7aa (patch) | |
tree | fdc5162d1343d2cbc09c6b284baeea5efb9a3956 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: usb-audio: Add FIXED_RATE quirk for JBL Quantum610 Wireless (diff) | |
download | wireguard-linux-b9cee506da2b7920b5ea02ccd8e78a907d0ee7aa.tar.xz wireguard-linux-b9cee506da2b7920b5ea02ccd8e78a907d0ee7aa.zip |
ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
snd_hda_get_connections() can return a negative error code.
It may lead to accessing 'conn' array at a negative index.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Artemii Karasev <karasev@ispras.ru>
Fixes: 30b4503378c9 ("ALSA: hda - Expose secret DAC-AA connection of some VIA codecs")
Link: https://lore.kernel.org/r/20230119082259.3634-1-karasev@ispras.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions