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

Skip to content
Commit 825423a1 authored by Hariram Purushothaman's avatar Hariram Purushothaman
Browse files

msm: camera: Fix invalid user pointer access in CONFIG_COMPAT mode



When 32-bit task is calling IOCTLs into kernel, accessing the IOCTL
data will cause an access violation if the data is not copied
into kernel memory first. To avoid this, use copy_from_user()
and copy_to_user() while handling IOCTLs.

Change-Id: I343fa8f4ed598507e6603b77763a724bda1e1ad0
Signed-off-by: default avatarHariram Purushothaman <hariramp@codeaurora.org>
parent e40d860d
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