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

Commit 6dccad6f authored by Akash Puliyadi Jegannathan's avatar Akash Puliyadi Jegannathan Committed by Vivekananda T
Browse files

msm: camera: sensor: TOCTOU error handling in eeprom



IO config 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: 3777635
Change-Id: Ia5dd9138dcf8449e2d800aca9ffed73d9c4ba3ea
Signed-off-by: default avatarAkash Puliyadi Jegannathan <quic_apuliyad@quicinc.com>
(cherry picked from commit 4cab684d)
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