commit | b91f080f517cf9dd52023c11127a0ca33190e31a | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Nov 04 08:43:08 2008 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Nov 04 08:43:08 2008 +0100 |
tree | 04d660d1dc3bdbd9b229484a4bee66cc5559ae76 | |
parent | 4ef0ef1966dae9e9e29762e4e719af3cfd146ca0 [diff] |
ALSA: hda - Fix possible NULL dereference Add NULL-check of the return value of snd_kctl_new1() before accessing it. Also, make a sanity NULL check to snd_BUG_ON() for debugging only. Signed-off-by: Takashi Iwai <tiwai@suse.de>