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.
CRs-Fixed: 779253
Change-Id: Ib9fa1d620e888ba8410b241d08895af993b6d960
Signed-off-by:
VijayaKumar T M <vtmuni@codeaurora.org>
Loading
Please register or sign in to comment