commit | f492968d953f233e6b6946afd402f6718ff7a500 | [log] [tgz] |
---|---|---|
author | Saleem Rashid <dev@saleemrashid.com> | Thu May 21 18:12:04 2020 +0100 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Aug 10 10:45:09 2020 -0700 |
tree | de634a94f8b26a4e7643c62222085e3806acdd7b | |
parent | 4261cbefc716e49d459426593cef0104482ec43b [diff] |
descriptor: Fix alignment for 32-bit words in parse_descriptor parse_descriptor was aligning 32-bit words to 2 bytes, instead of 4 bytes. This didn't cause any issues before, because the only time the 32-bit word code path is used is from a 3 byte offset (which incidentally aligns to 4 bytes). However, a 1 byte offset would incorrectly align to 2 bytes. Closes #734 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris 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)