diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-10-15 23:19:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:36:50 -0800 |
commit | c52e585cf03d3faa89ace0368bf66a3298e66a8b (patch) | |
tree | d712020ef2ec9f04c13d45590101a3e442401a2f /REPORTING-BUGS | |
parent | 5796ee30587cb5f887a7fe6182c2bbcc3d31f0ad (diff) | |
download | kernel_samsung_smdk4412-c52e585cf03d3faa89ace0368bf66a3298e66a8b.zip kernel_samsung_smdk4412-c52e585cf03d3faa89ace0368bf66a3298e66a8b.tar.gz kernel_samsung_smdk4412-c52e585cf03d3faa89ace0368bf66a3298e66a8b.tar.bz2 |
ALSA: ua101: fix crash when unplugging
commit 862a6244eb9f9f5123fe819454fcfcae0ee1f2f9 upstream.
If the device is unplugged while running, it is possible for a PCM
device to be closed after the disconnect callback has returned. This
means that kill_stream_urb() and disable_iso_interface() would try to
access already-invalid or freed USB data structures.
The function free_usb_related_resources() was intended to prevent this,
but forgot to clear the affected variables.
Reported-and-tested-by: Olivier Courtay <olivier@courtay.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions