[ALSA] Overrun in sound/pci/au88x0/au88x0_pcm.c
authorEric Sesterhenn <snakebyte@gmx.de>
Mon, 10 Apr 2006 12:42:00 +0000 (14:42 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 12 Apr 2006 09:34:17 +0000 (11:34 +0200)
commit2462321bfe59b9c22ca1ec4ba8665a1aeac6bab5
tree9753bc52df4417a64c84a845fc02d94221599afc
parent99e80e4d0c7755d688e9db205016a0608fa989b4
[ALSA] Overrun in sound/pci/au88x0/au88x0_pcm.c

Modules: au88x0 driver

since idx is used as an index for vortex_pcm_prettyname[VORTEX_PCM_LAST],
it should not be equal to VORTEX_PCM_LAST. This fixes coverity bug id #572

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0_pcm.c