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

2013-07-13 Thread Albert ARIBAUD
Hi Julius, On Fri, 12 Jul 2013 17:30:16 -0700, Julius Werner jwer...@chromium.org wrote: 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

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

2013-07-12 Thread Julius Werner
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