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

Skip to content
Commit 68d38571 authored by guyang's avatar guyang Committed by Sridhar Gujje
Browse files

msm: kgsl: sensor: Proper handling of race condition in util api



Power count is coming from user space which can be modified due to
access to shared memory. This change scopes the data locally so
as to avoid vulnerability of count being modified by external
means while executing due to being in shared memory.

CRs-Fixed: 3691744.

Change-Id: Ia8c23000787aeb16c46d7f9c8eea68fcdd871d58
Signed-off-by: default avatarShivi Mangal <quic_smangal@quicinc.com>
Signed-off-by: default avatarGuang Yang <quic_guyang@quicinc.com>
parent 5e351b0a
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