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

Skip to content
Commit 5fcc58b1 authored by Prakasha Nayak's avatar Prakasha Nayak
Browse files

msm: camera: icp: Prevent out of bound access in acquire



In ICP during acquire, no of output resource can change
from usespace. Change in no of output resource after the
memory allocation may result in out of bound access.
This can be avoided by checking value of no of output
resource during the allocation to the value copied from
userspace after allocation.

Change-Id: Ife0a96bd61fad0ad0481af01734fc4cff68baf5a
Signed-off-by: default avatarPrakasha Nayak <pnayak@codeaurora.org>
parent ed85a423
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