Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 182eba5d authored by Ronak Vijay Raheja's avatar Ronak Vijay Raheja Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3-msm: Add explicit out-of-bounds check before array access



Explicitly adding out-of-bounds check to ensure bus_vote_values and
mdwc->dbm_ep_num_mapping use indices within their specified range.

Change-Id: I196f69011f2c2392477e11b6eb19a395bb753dc5
Signed-off-by: default avatarRonak Vijay Raheja <rraheja@codeaurora.org>
parent 158801d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment