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

Skip to content
Commit 558dccae authored by Deepak Kaushal's avatar Deepak Kaushal Committed by Lokesh Kumar Aakulu
Browse files

msm: camera: Validate size param before allocating memory



When ever i2c write is initiated check size param for NULL
and in case of sequence write check for maximun allowed
size per i2c sequence write.

Change-Id: I111282537663d6b263a3686927c85b8f71560dae
Changa-Id: I590c7b3d154fc7626e54d5d52f7fea7f7bc2079a
Signed-off-by: default avatarDeepak Kaushal <dkaushal@codeaurora.org>
Signed-off-by: default avatarViswanadha Raju Thotakura <viswanad@codeaurora.org>
parent ed856f92
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