commit | 133bbda6946fa4fdfdfcc879d6b0700cfec02e30 | [log] [tgz] |
---|---|---|
author | Alexander Pyhalov <apyhalov@gmail.com> | Thu May 24 14:57:04 2018 +0300 |
committer | Nathan Hjelm <hjelmn@me.com> | Thu Apr 04 22:36:14 2019 -0600 |
tree | 59c878e87213e83313a01669d908a48c909baa25 | |
parent | 542e6fd03d115b74a9aa3ebea1d21d63e4a86aa1 [diff] |
solaris: Fix crash on closing libusb handle libusb_close() can interrupt transfer to device, setting dev_handle to NULL. In this case all async requests should exit gracefully. Also usbi_signal_transfer_completion() can dereference dev_handle in this case. Closes #434 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)