Revision 862a6244eb9f9f5123fe819454fcfcae0ee1f2f9 authored by Clemens Ladisch on 15 October 2011, 21:19:25 UTC, committed by Takashi Iwai on 06 November 2011, 10:21:42 UTC
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> Cc: 2.6.33+ <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 6bcbf64
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...