commit | 773e9e9058e5c829ce09888643c1d5b4ba6fcf9f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Apr 15 14:29:54 2017 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Tue Apr 25 12:50:12 2017 +0200 |
tree | 3dfec85a20cf7e4b8fb110c20304e00ed3fe7940 | |
parent | 5545c1ca1b5a4a1ab5548986649b13e8df7df65f [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>