linux/sound/firewire/oxfw
Takashi Sakamoto 4c098dab12 ALSA: oxfw: fix NULL pointer dereference to unused stream structure
ALSA oxfw driver supports Griffin FireWave. This device supports one
isochronous stream for PCM playback. Current driver executes code to
wait event for stream structure of opposite direction. This causes
NULL pointer dereference.

This commit fixes the bug.

Fixes: ac5d77864c ("ALSA: oxfw: support AMDTP domain")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-08-26 15:56:01 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
oxfw-command.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-hwdep.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-midi.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
oxfw-pcm.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
oxfw-proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-scs1x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-spkr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-stream.c ALSA: oxfw: fix NULL pointer dereference to unused stream structure 2019-08-26 15:56:01 +02:00
oxfw.c ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
oxfw.h ALSA: oxfw: support AMDTP domain 2019-08-05 19:57:24 +02:00