openwrt/package/libs/libusb/patches
Georgi Valkov 274e614af2 libusb: Fix parsing of descriptors for multi-configuration devices
Prerequisite patch:
Correct a typo in the Changelog and clean up a stray file

Fix changes in libusb which introduced a regression:
Commit e2be556bd2 ("linux_usbfs: Parse config descriptors during device
initialization") introduced a regression for devices with multiple
configurations. The logic that verifies the reported length of the
configuration descriptors failed to count the length of the
configuration descriptor itself and would truncate the actual length by
9 bytes, leading to a parsing error for subsequent descriptors.

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:39 +00:00
..
001-Correct-a-typo-in-the-Changelog-and-clean-up-a-stray.patch libusb: Fix parsing of descriptors for multi-configuration devices 2021-09-01 08:07:39 +00:00
002-linux_usbfs-Fix-parsing-of-descriptors-for-multi-con.patch libusb: Fix parsing of descriptors for multi-configuration devices 2021-09-01 08:07:39 +00:00