commit | 5305df7966eb920291cb2eafad27e5e201edd79b | [log] [tgz] |
---|---|---|
author | Léo Lam <leo@innovatetechnologi.es> | Fri May 03 12:57:43 2019 +0200 |
committer | Nathan Hjelm <hjelmn@me.com> | Sun Jul 07 22:00:03 2019 -0600 |
tree | d0881b4f291d49038410a4e6bbc21678bc8966e9 | |
parent | 028a92e5f4336e3ff99ddef8ae581b116bba6a9b [diff] |
windows_winusb: Bounds check interface for check_valid_interface This prevents a nasty out-of-bounds read and a likely crash when the interface number is invalid. Closes #568 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)