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

Skip to content
Commit c4bfd4a8 authored by Raja Mallik's avatar Raja Mallik
Browse files

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



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

Change-Id: Ifaf5039c13809923b4ce35f369506d5937f3b3f4
Signed-off-by: default avatarPrakasha Nayak <pnayak@codeaurora.org>
Signed-off-by: default avatarRaja Mallik <rmallik@codeaurora.org>
parent ec12b494
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