osy aff1bce69c darwin: handle error from GetConfigurationDescriptorPtr
When a device is disconnected or otherwise `dpriv->device` is invalid,
`GetConfigurationDescriptorPtr` will return `kIOReturnNoDevice` and
`IOUSBConfigurationDescriptorPtr` will not be set. This means that we
have an uninitialized pointer that is read from which is... very bad.
2025-10-01 12:27:49 -07:00
2025-08-26 21:46:43 +02:00
2020-12-19 13:29:38 -08:00
2022-06-26 17:09:14 +02:00
2025-06-01 20:33:14 +02:00
2025-06-01 20:33:14 +02:00
2025-08-26 21:46:43 +02:00
2007-12-02 22:54:59 +00:00
2022-06-26 17:09:14 +02:00
2016-07-24 20:00:00 -06:00
2020-08-23 17:32:06 +02:00
2016-07-24 20:02:31 -06:00

libusb

libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku, Solaris userspace, and WebAssembly via WebUSB. 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: https://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)

S
Description
A cross-platform library to access USB devices
Readme LGPL-2.1
6.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 94%
C++ 3%
M4 1.3%
Makefile 1.1%
Shell 0.6%