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

Commit 613be8ab authored by Akash Puliyadi Jegannathan's avatar Akash Puliyadi Jegannathan Committed by Vivekananda T
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>
(cherry picked from commit cb179fe1)
parent 2a8be520
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