Re: [PATCH] usb: Use well-known descriptor sizes when parsing configuration

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

 



On Mon, 01 Jul 2024 15:50:30 +0200, Ahmad Fatoum wrote:
> This is a port of U-Boot commit eaf3e613ea6f0dc95c94a93997ad62785fe2969c:
> 
>   | Author: Julius Werner <jwerner@xxxxxxxxxxxx>
>   | Date: Fri Jul 19 13:12:08 2013 -0700
>   |
>   | usb: Use well-known descriptor sizes when parsing configuration
>   |
>   | The existing USB configuration parsing code relies on the descriptors'
>   | own length values when reading through the configuration blob. Since the
>   | size of those descriptors is always well-defined, we should rather use
>   | the known sizes instead of trusting device-provided values to be
>   | correct. Also adds some safety to potential out-of-order descriptors.
>   |
>   | Change-Id: I16f69dfdd6793aa0fe930b5148d4521f3e5c3090
>   | Signed-off-by: Julius Werner <jwerner@xxxxxxxxxxxx>
> 
> [...]

Applied, thanks!

[1/1] usb: Use well-known descriptor sizes when parsing configuration
      https://git.pengutronix.de/cgit/barebox/commit/?id=b6a510525e63 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux