Skip to content
Commit b91f080f authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 4ef0ef19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment