summaryrefslogtreecommitdiff
path: root/crypto/algboss.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-10-18 13:58:37 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-10-19 09:58:21 (GMT)
commit56b1c72a75ec44a98aca8bbd71ac869a6f54e036 (patch)
treebf621224f4e442b98875597c4e69765bf0ec8dec /crypto/algboss.c
parentbd04809bbe4c1f749650bb990c969112a5e10aef (diff)
downloadlinux-56b1c72a75ec44a98aca8bbd71ac869a6f54e036.tar.xz
ALSA: firewire-lib: avoid NULL pointer dereference after closing MIDI port
When asynchronous MIDI port is closed before callbacked, the callback function causes NULL pointer dereference to missing MIDI substream. This commit fixes this bug. Fixes: e8a40d9bcb23('ALSA: firewire-lib: schedule work again when MIDI substream has rest of MIDI messages') Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/algboss.c')
0 files changed, 0 insertions, 0 deletions