diff options
author | Georgi Valkov <gvalkov@abv.bg> | 2021-02-03 09:41:54 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-06-26 17:11:21 +0200 |
commit | e171d11f55e335416d2ee689604998698f517e00 (patch) | |
tree | d819546b224670e7439d6c196d44b53569191d2a /target/linux/ipq806x/modules.mk | |
parent | 3d62b5d5c66c47814fde74a5e50d3e0f9b1d6a84 (diff) | |
download | upstream-e171d11f55e335416d2ee689604998698f517e00.tar.gz upstream-e171d11f55e335416d2ee689604998698f517e00.tar.bz2 upstream-e171d11f55e335416d2ee689604998698f517e00.zip |
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>
(cherry picked from commit 4b37e3bc2b2a079c996b6d97b8d3dbbd4ba6eb62)
Diffstat (limited to 'target/linux/ipq806x/modules.mk')
0 files changed, 0 insertions, 0 deletions