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

Skip to content
Commit 0ec50b75 authored by Abhishek Abbanaveni's avatar Abhishek Abbanaveni Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix for OOB security CR



If user passes an aribitary command with _IOC_DIR(cmd) == _IOC_NONE,
"arg" should not point to any arbitrary address.
Check for invalid command and return error

Change-Id: Ieae6c79a836d0ae71055725d7994a01bf17b9e05
Signed-off-by: default avatarAbhishek Abbanaveni <aabban@codeaurora.org>
parent 3dcf71cf
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