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.g...@gmx.de> > --- > v2 > do not move the ep->desc check > ---
Upstreamed as https://lkml.org/lkml/2018/3/19/52 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot