Re: [PATCH v2] usb: gadget: aspeed_udc: validate endpoint index for ast udc
From: Andrew Jeffery <andrew@codeconstruct.com.au>
Date: 2024-06-24 23:55:31
Also in:
linux-aspeed, linux-usb, lkml
From: Andrew Jeffery <andrew@codeconstruct.com.au>
Date: 2024-06-24 23:55:31
Also in:
linux-aspeed, linux-usb, lkml
On Mon, 2024-06-24 at 09:53 +0800, Ma Ke wrote:
We should verify the bound of the array to assure that host may not manipulate the index to point past endpoint array. Found by static analysis. Signed-off-by: Ma Ke <redacted>
Probably best to do a v3 with a changelog as Greg's email suggests (and for the v3 changelog entry, mention that you added the changelog). Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au>