]> 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)
commit80139cf0dc160df25bccb9afbbd8941f26d4e385
tree27162877fe24366ffcb66f8adfa08a780452208e
parent3dd6766937f023d0462ff1dce6342a5e89d6ea17
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