mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
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>
This commit is contained in:
parent
4ef0ef1966
commit
b91f080f51
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue