]> git.baikalelectronics.ru Git - kernel.git/commit
sound: oxygen: fix NULL pointer dereference when loading snd-oxygen
authorClemens Ladisch <clemens@ladisch.de>
Mon, 16 Jun 2008 12:13:52 +0000 (14:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jun 2008 13:16:11 +0000 (15:16 +0200)
commit6cc73f2af92d80d70a51718c190c163bdea06794
tree01fb4db5fa376da49a04ec55423e7dc40e928087
parent36ed5d58178c72f283c4cfbb256d4d1a117258db
sound: oxygen: fix NULL pointer dereference when loading snd-oxygen

Check that model->control_filter is set before trying to call it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen_mixer.c