summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-03-29 10:48:28 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-29 18:37:28 +0200
commitaf6f8529098aeb0e56a68671b450cf74e7a64fcd (patch)
treed42d1e620633a05b2c697add92360b54c6317641 /arch/sparc/kernel
parentbe9cae2479f48d18f7a449ba91677ae97df11f3e (diff)
downloadtalos-op-linux-af6f8529098aeb0e56a68671b450cf74e7a64fcd.tar.gz
talos-op-linux-af6f8529098aeb0e56a68671b450cf74e7a64fcd.zip
usb: musb: gadget: misplaced out of bounds check
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> Signed-off-by: Bin Liu <b-liu@ti.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud