android_kernel_google_msm/sound
Lars-Peter Clausen 2e5f14a647 ALSA: control: Make sure that id->index does not overflow
commit 883a1d49f0 upstream.

The ALSA control code expects that the range of assigned indices to a control is
continuous and does not overflow. Currently there are no checks to enforce this.
If a control with a overflowing index range is created that control becomes
effectively inaccessible and unremovable since snd_ctl_find_id() will not be
able to find it. This patch adds a check that makes sure that controls with a
overflowing index range can not be created.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-26 15:10:29 -04:00
..
aoa
arm ALSA: pxa2xx: Fix unlocked snd_pcm_stop() call 2014-03-11 16:10:09 -07:00
atmel
core ALSA: control: Make sure that id->index does not overflow 2014-06-26 15:10:29 -04:00
drivers ALSA: pcsp: Fix the order of input device unregistration 2014-04-14 06:44:31 -07:00
firewire IEEE 1394 (FireWire) subsystem updates post v3.3: 2012-03-22 20:31:15 -07:00
i2c ALSA: ak4xx-adda: info leak in ak4xxx_capture_source_info() 2014-04-14 06:44:30 -07:00
isa ALSA: msnd: Avoid duplicated driver name 2013-11-29 10:50:34 -08:00
mips
oss sound: Fix make allmodconfig on MIPS correctly 2013-08-20 08:26:27 -07:00
parisc
pci ALSA: hda/realtek - Add support of ALC891 codec 2014-06-26 15:10:29 -04:00
pcmcia
ppc
sh
soc ASoC: wm8962: Update register CLASS_D_CONTROL_1 to be non-volatile 2014-06-07 16:02:03 -07:00
sparc
spi
synth
usb ALSA: 6fire: make buffers DMA-able (midi) 2014-04-14 06:44:30 -07:00
ac97_bus.c
Kconfig
last.c ALSA: workaround: change the timing of alsa_sound_last_init() 2012-04-19 13:51:54 +02:00
Makefile
sound_core.c
sound_firmware.c