diff options
| author | Heinrich Schuchardt <[email protected]> | 2018-03-29 15:48:28 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-29 16:37:28 +0000 |
| commit | af6f8529098aeb0e56a68671b450cf74e7a64fcd (patch) | |
| tree | d42d1e620633a05b2c697add92360b54c6317641 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | usb: chipidea: imx: Fix ULPI on imx53 (diff) | |
| download | kernel-af6f8529098aeb0e56a68671b450cf74e7a64fcd.tar.gz kernel-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 <[email protected]>
Signed-off-by: Bin Liu <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
