]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[ALSA] fix NULL pointer dereference in sound/synth/emux/soundfont.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 28 Mar 2007 20:35:52 +0000 (22:35 +0200)
committerAdrian Bunk <bunk@stusta.de>
Wed, 28 Mar 2007 20:35:52 +0000 (22:35 +0200)
commit4802c31e31c845cfe044dc66a0615363534066e9
treeae4d587f161434660d8289bb02c9ed8097cb1738
parent8e617c8834fe2dde4e88ea9c2dcd9530c5b30839
[ALSA] fix NULL pointer dereference in sound/synth/emux/soundfont.c

this is about coverity id #100.
It seems the if statement is negated, since the else branch calls
remove_info() with sflist->currsf as a parameter where it gets
dereferenced.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
sound/synth/emux/soundfont.c