[Bug 238412] libusb_get_config_descriptor() should return LIBUSB_NOT_FOUND on out-of-range config_index

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 11 08:53:23 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238412

--- Comment #4 from commit-hook at freebsd.org ---
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 at gmail.com
  PR:           238412

Changes:
_U  stable/12/
  stable/12/lib/libusb/libusb20.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list