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

Skip to content
Commit 7d13ed2b authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Correct memory type update in IOCTL_KGSL_GPUOBJ_SET_INFO



A bad user can pass memory type parameter value greater than 255.
Limit the memory type value to valid range before updating memory
descriptor flags to avoid incorrect flag update.

Change-Id: I23ce69584d1e2c9969583461ee942c5046e7cdbc
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent c2aa9c2a
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