commit | 36502d020030665bcfc558767cbb0ddf87b9892f | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Dec 19 15:15:10 2012 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Sat Jan 12 08:30:59 2013 +0100 |
tree | e8a7fcc2be37d8d19ad2d61b4219583bbe5cc84d | |
parent | 9eb413e5e4801753f7851ec6c46528adcc15579f [diff] |
ALSA: hda - Fix NULL dereference in snd_hda_gen_build_controls() When no controls are assigned in the parser (e.g. no analog path), spec->kctls.list is still NULL. We need to check it before passing to snd_hda_add_new_ctls(). Signed-off-by: Takashi Iwai <tiwai@suse.de>