[PATCH v4] usb: gadget: aspeed_udc: validate endpoint index for ast udc

Andrew Jeffery andrew at codeconstruct.com.au
Wed Jun 26 10:07:37 AEST 2024


On Tue, 2024-06-25 at 10:23 +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 <make24 at iscas.ac.cn>

Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>


More information about the Linux-aspeed mailing list