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

Skip to content
Commit 8117dc59 authored by Vikram Sharma's avatar Vikram Sharma
Browse files

msm: camera: hyp: To fix Stack overflow



Getting stack overflow due to wrong cmd when copy_from_user.
To avoid this added check for cmd, if cmd is valid then
copy_from_user else return error.

Change-Id: I4574cb6da94bea8a8ccd7d65fc6a526ccc90d46d
Signed-off-by: default avatarVikram Sharma <vikramsa@codeaurora.org>
parent 497e1f66
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