linux/sound/core/control.c
Takashi Iwai d0ff9f9a12 ALSA: control: Add sanity checks for user ctl id name string
commit be3bb8236d upstream.

There was no check about the id string of user control elements, so we
accepted even a control element with an empty string, which is
obviously bogus.  This patch adds more sanity checks of id strings.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
2015-03-23 15:17:15 +00:00

1759 lines
45 KiB