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

Commit fbf646f1 authored by Rajakumar Govindaram's avatar Rajakumar Govindaram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera2: cpp: Validate user pointer access for IOCTLs



The payload for IOCTLs from compat mode need to be properly
copied to kernel using correct 32-bit/64-bit data structures.
This can avoid accessing invalid address when IOCTLs are invoked
with non-NULL invalid address.

Change-Id: Ifc53309aaf67663208e28c2fd4b6d5db484e49b5
Signed-off-by: default avatarRajakumar Govindaram <rajakuma@codeaurora.org>
parent efbdfa28
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