[ALSA] emu10k1 - Fix memory corruption
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Aug 2007 17:32:16 +0000 (19:32 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:59:13 +0000 (15:59 +0200)
commit7583cb51a1e276591f57a2fae05489c878f8ef54
treeb69e155cd8b01a0576e64b384f2f2dedb4a7b337
parent542d7c66201439f98dd44e62a8186ec33a15b1a7
[ALSA] emu10k1 - Fix memory corruption

The number of mixer elements for SPDIF control don't match with the
actual array size (3).  This may result in a memory corruption that
overwrites the i2c_capture_source field (ALSA bug#3095).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/emu10k1/emumixer.c