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

Skip to content
Commit 639e0d05 authored by Sunil Khatri's avatar Sunil Khatri
Browse files

msm: kgsl: Make sure gpu-speed-bin-vectors has the correct size



Total number of elements in the gpu-speed-bin-vectors array
should be multiple of number of elements in a speed bin vector.

If number of elements is not a multiple of vector size then
there is a possibilty of out of bound access in the speed-bin
vector array. Also rectify the memory allocated for it.

Change-Id: I9158e4f883eca400a46663b07326fb6f6020155c
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 378dc16e
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