Skip to content
Snippets Groups Projects
Commit 7f2e59ae authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Marek Vasut
Browse files

usb: musb: avoid out of bound access in udc_setup_ep


For id = 15 an out of bound access occurs in udc_setup_ep().
Increase the size of epinfo[] from 30 to 32 to encompass
ids 0..15.

The problem was highlighted by cppcheck.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 2511b2ed
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment