Date: Tue, 11 Jun 2019 08:53:21 +0000 From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 238412] libusb_get_config_descriptor() should return LIBUSB_NOT_FOUND on out-of-range config_index Message-ID: <bug-238412-19105-oyrXY0JR89@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238412-19105@https.bugs.freebsd.org/bugzilla/> References: <bug-238412-19105@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238412 --- Comment #4 from commit-hook@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@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238412-19105-oyrXY0JR89>
