linux-stable/sound/synth/emux
Artemii Karasev 6a32425f95 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
snd_emux_xg_control() can be called with an argument 'param' greater
than size of 'control' array. It may lead to accessing 'control'
array at a wrong index.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Artemii Karasev <karasev@ispras.ru>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230207132026.2870-1-karasev@ispras.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-02-07 14:32:33 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emux.c treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
emux_effect.c ALSA: synth: Fix assignment in if condition 2021-06-09 17:30:35 +02:00
emux_hwdep.c ALSA: synth: Fix assignment in if condition 2021-06-09 17:30:35 +02:00
emux_nrpn.c ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-02-07 14:32:33 +01:00
emux_oss.c ALSA: seq: oss: Constify snd_seq_oss_callback definitions 2020-01-03 09:24:41 +01:00
emux_proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emux_seq.c ALSA: seq: Constify struct snd_midi_op 2020-01-03 09:24:19 +01:00
emux_synth.c ALSA: emux: More constifications 2020-01-05 16:14:46 +01:00
emux_voice.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
soundfont.c ALSA: emux: fix spelling mistakes 2021-07-05 19:34:22 +02:00