~diwic/alsa-driver/snd-firewire-improve

Viewing all changes in revision 1298.

  • Committer: Takashi Sakamoto
  • Date: 2019-08-26 23:56:44 UTC
  • Revision ID: git-v1:be7702ec3374334ce53fe9c00739d3f9d54beb01
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: ac5d77864cfc ("ALSA: oxfw: support AMDTP domain")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: