]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: fix possible null dereference
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 2 Apr 2015 11:21:43 +0000 (16:51 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Apr 2015 12:32:16 +0000 (14:32 +0200)
commit790de5b271caa0f4c66dd7babc434591d585b37c
treed69612e15878e09eef8498c414c27c360d422ad4
parent142e08fa3cf2b57b8cf69138fbeb2818f42038b3
ALSA: hda: fix possible null dereference

we are dereferencing pcm first then checking pcm. instead now lets put
them in same if condition so that pcm is checked first.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c