
19 Mar
2018
19 Mar
'18
8:13 a.m.
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@gmx.de
v2 do not move the ep->desc check
Upstreamed as https://lkml.org/lkml/2018/3/19/52