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

Skip to content
Commit 4fd57605 authored by Krishna Srinivas Kundurthi's avatar Krishna Srinivas Kundurthi
Browse files

msm: camera2: cpp: Fix to correct pointer in copy_to_user call



Deferencing user pointer in kernel code is incorrect. This code
can cause kernel panic for some rare cases. Use kernel pointer
while calling copy_to_user() API.

Change-Id: I3500fa19adb9a6791540fa73023df9011242b243
Signed-off-by: default avatarKrishna Srinivas Kundurthi <krisri@codeaurora.org>
parent 96a5ab50
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