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

Skip to content
Commit 57244cc5 authored by Steve Cohen's avatar Steve Cohen Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: restrict directly accessing data in user pointers



Restrict directly dereferencing user pointers by casting with the
proper attribute.  Some properties accept a 64-bit value as a
pointer to a user space structure.  This data should only be
accessed after copying to the kernel address space.

Change-Id: I968dc92061263176f714d1fda5e75db3921dfc3e
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 387e9dc0
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