[U-Boot] [PATCH v2 1/1] usb: musb-new: misplaced out of bounds check
Heinrich Schuchardt
xypron.glpk at gmx.de
Mon Mar 19 07:13:30 UTC 2018
On 03/19/2018 07:50 AM, Heinrich Schuchardt wrote:
> musb->endpoints[] has array size MUSB_C_NUM_EPS.
> We must check array bounds before accessing the array and not afterwards.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
> do not move the ep->desc check
> ---
Upstreamed as
https://lkml.org/lkml/2018/3/19/52
More information about the U-Boot
mailing list