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:Prakasha Nayak <pnayak@codeaurora.org> Signed-off-by:
Raja Mallik <rmallik@codeaurora.org>
Loading
Please register or sign in to comment