Summary: | libusb_get_config_descriptor() should return LIBUSB_NOT_FOUND on out-of-range config_index | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | takahiro.kurosawa | ||||
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | hselasky | ||||
Priority: | --- | ||||||
Version: | 11.3-STABLE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
takahiro.kurosawa
2019-06-08 04:23:14 UTC
A commit references this bug: Author: hselasky Date: Sat Jun 8 09:34:02 UTC 2019 New revision: 348797 URL: https://svnweb.freebsd.org/changeset/base/348797 Log: Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a valid USB configuration read request. Submitted by: takahiro.kurosawa@gmail.com PR: 238412 MFC after: 3 days Changes: head/lib/libusb/libusb20.c Thanks! A commit references this bug: Author: hselasky Date: Tue Jun 11 08:50:27 UTC 2019 New revision: 348893 URL: https://svnweb.freebsd.org/changeset/base/348893 Log: MFC r348797: Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a valid USB configuration read request. Submitted by: takahiro.kurosawa@gmail.com PR: 238412 Approved by: re (kib) Changes: _U stable/11/ stable/11/lib/libusb/libusb20.c A commit references this bug: Author: hselasky Date: Tue Jun 11 08:52:48 UTC 2019 New revision: 348894 URL: https://svnweb.freebsd.org/changeset/base/348894 Log: MFC r348797: Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a valid USB configuration read request. Submitted by: takahiro.kurosawa@gmail.com PR: 238412 Changes: _U stable/12/ stable/12/lib/libusb/libusb20.c A commit references this bug: Author: hselasky Date: Tue Jun 11 08:53:26 UTC 2019 New revision: 348895 URL: https://svnweb.freebsd.org/changeset/base/348895 Log: MFC r348797: Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a valid USB configuration read request. Submitted by: takahiro.kurosawa@gmail.com PR: 238412 Changes: _U stable/10/ stable/10/lib/libusb/libusb20.c A commit references this bug: Author: hselasky Date: Tue Jun 11 08:54:22 UTC 2019 New revision: 348896 URL: https://svnweb.freebsd.org/changeset/base/348896 Log: MFC r348797: Fix for reading the configuration descriptor in libusb. Catch invalid configuration descriptor reads early on to avoid issues with devices that don't check for a valid USB configuration read request. Submitted by: takahiro.kurosawa@gmail.com PR: 238412 Changes: _U stable/9/lib/ _U stable/9/lib/libusb/ stable/9/lib/libusb/libusb20.c |