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

Skip to content
Commit 3374ff21 authored by Gaurav Kohli's avatar Gaurav Kohli Committed by Gerrit - the friendly Code Review server
Browse files

drivers: llcc: Add extra check for sct size during get slice call



There could be a potential out of bound access to the sct table, if
client calls get slice with not supported slice id.
So to avoid the same check the size of sct table to traverse and
return error in case slice id is not present.

Change-Id: I39f4a61dd46e0e8b65b827b63073e1d6f0f2ca24
Signed-off-by: default avatarGaurav Kohli <gkohli@codeaurora.org>
parent 082edf13
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