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

Skip to content
Commit 63445d10 authored by Akash Puliyadi Jegannathan's avatar Akash Puliyadi Jegannathan Committed by Sridhar Gujje
Browse files

msm: camera: sensor: TOCTOU error handling in eeprom



I2C cmd 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: 3777534
Change-Id: I4637f49db67d1bd1d5ca418435e3627b5652f604
Signed-off-by: default avatarAkash Puliyadi Jegannathan <quic_apuliyad@quicinc.com>
parent 6e0e7c78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment