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:
Rajakumar Govindaram <rajakuma@codeaurora.org>
Loading
Please register or sign in to comment