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

Skip to content
Commit 41fb0704 authored by Rajakumar Govindaram's avatar Rajakumar Govindaram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera2: cpp: Reset payload for VIDIOC_MSM_CPP_GET_EVENTPAYLOAD



In 32-bit / 64-bit compat mode, the kernel32 structure populated
manually from kernel64 structure. This kernel32 is copied directly
to user32 structure. Any padding in kernel32 is not set to 0. This
results in invalid data being copied to user32 structure.

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