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

Commit 216786ec authored by Ravi Kishore Tanuku's avatar Ravi Kishore Tanuku Committed by Xu Han
Browse files

msm: camera: cci: add out of boundary check



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

Change-Id: Id835bf3276c91cd80c3ef59e6648a6d6792d2567
Signed-off-by: default avatarRavi Kishore Tanuku <rktanuku@codeaurora.org>
Signed-off-by: default avatarXu Han <hanxu@codeaurora.org>
parent 07c0864f
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