On Fri, Dec 10, 2021 at 10:48:21AM -0500, Alan Stern wrote:
On Fri, Dec 10, 2021 at 09:52:18AM +0100, Pavel Hofman wrote:
quoted
The checks performed by commit aed9d65ac327 ("USB: validate
wMaxPacketValue entries in endpoint descriptors") require that initial
value of the maxp variable contains both maximum packet size bits
(10..0) and multiple-transactions bits (12..11). However, the existing
code assings only the maximum packet size bits. This patch assigns all
bits of wMaxPacketSize to the variable.
Fixes: aed9d65ac327 ("USB: validate wMaxPacketValue entries in endpoint descriptors")
Signed-off-by: Pavel Hofman <redacted>
---
Acked-by: Alan Stern <stern@rowland.harvard.edu>
This should have a "CC: [off-list ref]" tag attached.
I can add that, thanks.
greg k-h