Date: Tue, 11 Jun 2019 08:51:17 +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-ICULokYyPw@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/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238412 --- Comment #3 from commit-hook@freebsd.org --- 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238412-19105-ICULokYyPw>