summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorMa Ke <make24@iscas.ac.cn>2024-06-25 10:23:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-27 16:07:30 +0200
commitee0d382feb44ec0f445e2ad63786cd7f3f6a8199 (patch)
treed78d0324d88a00741df1b8fcc6578ff3412d9f1c /drivers/usb/host
parent859976e8e744dc5e23903baca2724eebe85d9d27 (diff)
usb: gadget: aspeed_udc: validate endpoint index for ast udc
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@iscas.ac.cn> Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> Link: https://lore.kernel.org/r/20240625022306.2568122-1-make24@iscas.ac.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions