Closed DinkDonk closed 2 years ago
Hi @DinkDonk,
Thank you for this pull-request. We will get back to you with a feedback as soon as possible. Please excuse the delay it may take us sometimes to reply. Thank you for your comprehension.
With regards,
Hi @DinkDonk,
Thank you for this proposal. However, according to our development teams, those checks are necessary to protect against potential attacks in case the inserted device does not respect USB standards. Hence, we cannot remove them.
Please allow me to close this pull-request. Thank you for you comprehension and thank you again for the proposal.
With regards,
Removed unneeded length checks that broke class-specific interface descriptors. There should be no need to force length on configuration descriptors since they all declare their own sizes with
bLength
.