NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/56762 CVS commit: src/sys/dev/usb



The following reply was made to PR kern/56762; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/56762 CVS commit: src/sys/dev/usb
Date: Sat, 19 Mar 2022 10:05:52 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Mar 19 10:05:52 UTC 2022
 
 Modified Files:
 	src/sys/dev/usb: usbdi.c
 
 Log Message:
 usbdi(9): Fix usbd_get_no_alts.
 
 This incorrectly rejected the configuration as invalid if any
 descriptor is not large enough to be interface descriptors.
 
 Instead, it should reject the configuration only if any descriptor is
 not large enough to be a _descriptor_, or if any interface-type
 descriptor is not large enough to be an interface descriptor, but
 skip over descriptors of other types even if they're smaller than
 interface descriptors.
 
 Candidate fix for PR kern/56762.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.238 -r1.239 src/sys/dev/usb/usbdi.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index