Date: Sat, 08 Jun 2019 09:34:16 +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-zTMiaH6jhY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <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 #1 from commit-hook@freebsd.org --- 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 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238412-19105-zTMiaH6jhY>
