OpenCloudOS-Kernel/sound/pci/echoaudio
Dan Carpenter 77008b70fe ALSA: echoaudio: read past end of array
We need to cap "ucontrol->id.index / num_busses_in(chip)" so the we
don't read beyond the end of the array.

I also adding a check on "in" and changing the type in
snd_echo_mixer_put() from short to unsigned int. Those changes are done
for symmetry and are cosmetic.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-03-23 14:00:28 +01:00
..
Makefile ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
darla20.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
darla20_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
darla24.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
darla24_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
echo3g.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
echo3g_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
echoaudio.c ALSA: echoaudio: read past end of array 2015-03-23 14:00:28 +01:00
echoaudio.h ALSA: echoaudio: remove all snd_printk 2014-11-03 14:07:25 +01:00
echoaudio_3g.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
echoaudio_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
echoaudio_dsp.h ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
echoaudio_gml.c ALSA: echoaudio: remove all snd_printk 2014-11-03 14:07:25 +01:00
gina20.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
gina20_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
gina24.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
gina24_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
indigo.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
indigo_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
indigo_express_dsp.c ALSA: echoaudio: remove all snd_printk 2014-11-03 14:07:25 +01:00
indigodj.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
indigodj_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
indigodjx.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigodjx_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
indigoio.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
indigoio_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
indigoiox.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
indigoiox_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
layla20.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
layla20_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
layla24.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
layla24_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
mia.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
mia_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00
midi.c ALSA: echoaudio: Use setup_timer() and mod_timer() 2015-01-19 11:33:20 +01:00
mona.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
mona_dsp.c ALSA: echoaudio: cleanup of unnecessary messages 2014-11-05 15:35:57 +01:00