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:
Akash Puliyadi Jegannathan <quic_apuliyad@quicinc.com>
Loading
Please register or sign in to comment