[ALSA] ali5451 - Fix possible NULL dereference
authorTakashi Iwai <tiwai@suse.de>
Sat, 19 May 2007 14:30:35 +0000 (16:30 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 31 May 2007 07:06:02 +0000 (09:06 +0200)
commit2704364248378193a24505e414dbfd4201053349
treea450aaa299dd3bb5fc596c7f0d7f19aab73f58d5
parent3b542985edeed1a1af124ee055e2d35a30489d93
[ALSA] ali5451 - Fix possible NULL dereference

Reported by Eric Sesterhenn.
Fix the wrong checks of extra voice pointer, which may cause NULL
dereferences.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ali5451/ali5451.c