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

Skip to content
Commit fa355f60 authored by Maya Erez's avatar Maya Erez
Browse files

usb: host: Fix array access to a non verified index



Fix code quality issues found by the automatic checking tool,
that can cause out of bound access to the port_status and hostpc arrays.
Verify wIndex before accessing the arrays in this index.

Change-Id: Iec7b7b6b66a318e4e97b23ce243e7a128dbf795a
CRs-Fixed: 566927
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
parent c5b954d0
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