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

Commit ab4f6fed authored by Xu Han's avatar Xu Han
Browse files

msm: camera: correct the boundary check



cci transactions are optimized by comparing i2c addresses
in consecutive commands using pointer to command.
Correct the boundary check to ensure that pointers to command do
not go out of bounds.

Change-Id: I8846b13d78cb16c090ba6a4c59bd46d920748e2f
Signed-off-by: default avatarXu Han <hanxu@codeaurora.org>
parent fb120d64
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