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

Skip to content
Commit 2aeaa432 authored by Sreesudhan Ramakrish Ramkumar's avatar Sreesudhan Ramakrish Ramkumar Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Add defensive check for cfg_data and cmd_len



cfg_data and cmd_len is used for all types except VFE_CFG_MASK.
copy user memory only if cmd_len is greater than 0 and perform
defensive check for cfg_data and cmd_len for all types exept
VFE_CFG_MASK.

Change-Id: Ieb0997fab88486afac48b271b1f66cf999f252f7
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
parent 65926263
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