]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: asihpi - fix potential NULL pointer dereference
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Mar 2013 16:16:40 +0000 (00:16 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Mar 2013 07:34:36 +0000 (08:34 +0100)
commit20388c28f8904fe0eff0bf00b22e4008b793bd42
tree27162877fe24366ffcb66f8adfa08a780452208e
parent22b7a37de4a78cece4e1ac9a44a3591f4f2e3cb4
ALSA: asihpi - fix potential NULL pointer dereference

The dereference should be moved below the NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c