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>
This commit is contained in:
Takashi Iwai 2015-03-11 18:12:49 +01:00 • committed by Luis Henriques
commit d0ff9f9a12