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

Commit 83c4996d authored by VijayaKumar T M's avatar VijayaKumar T M Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Validate size param before allocating memory



Whenever i2c write is initiated check size param for NULL.
In case of i2c sequence write, check for maximum allowed
size per sequence write.

CRs-Fixed: 779253
Change-Id: Ib9fa1d620e888ba8410b241d08895af993b6d960
Signed-off-by: default avatarVijayaKumar T M <vtmuni@codeaurora.org>
Signed-off-by: default avatarRavi Kishore Tanuku <rktanuku@codeaurora.org>
parent 541fe938
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