ALSA: firewire-tascam: fix NULL pointer dereference when model identification fails
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 5 Feb 2016 00:56:05 +0000 (09:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Feb 2016 11:45:59 +0000 (12:45 +0100)
commit5d2560a427fc7c4050a320be62c4994705ca81b1
tree6c21aa2c9b4f5414faff3f3d46ed46cfbfe48814
parent360a8245680053619205a3ae10e6bfe624a5da1d
ALSA: firewire-tascam: fix NULL pointer dereference when model identification fails

When unsupported models are connected, snd-firewire-tascam module causes
NULL pointer dereference in fw_core_remove_address_handler() (due to
list_del_rcu()).

This commit prevents this bug.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam-transaction.c