mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
When a hotplug callback has been registered, and the program using libusb is calling libusb_exit then the thread handler is set to NO_THREAD which result in the variable controlling the loop the be set to 0, it does a last pass through device available without having done a scan, which result in a sigbus after it tried to unregister all the devices. directly break the loop instead and cleanup the list of devices this fixes the tests with LGPLed libusb's hotplugtest program MFC After: 3 days Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D48298 (cherry picked from commit ba5834b8e11fd002a663d083a464e397e76cb3a9) |
||
|---|---|---|
| .. | ||
| libusb-0.1.pc.in | ||
| libusb-1.0.pc.in | ||
| libusb-2.0.pc.in | ||
| libusb.3 | ||
| libusb.h | ||
| libusb01.c | ||
| libusb10.c | ||
| libusb10.h | ||
| libusb10_desc.c | ||
| libusb10_hotplug.c | ||
| libusb10_io.c | ||
| libusb20.3 | ||
| libusb20.c | ||
| libusb20.h | ||
| libusb20_desc.c | ||
| libusb20_desc.h | ||
| libusb20_int.h | ||
| libusb20_ugen20.c | ||
| libusb_global_linux.h | ||
| Makefile | ||
| Makefile.depend | ||
| usb.h | ||