diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-04-15 14:29:54 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2017-04-25 12:50:12 +0200 |
commit | 7f2e59aee5894ffc1d79b485f45ae00902baa738 (patch) | |
tree | 3dfec85a20cf7e4b8fb110c20304e00ed3fe7940 /test | |
parent | 2511b2ed4df36467898952aa7825abbe8d0a211f (diff) |
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: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions