msm: camera: Add bounds checking for output resources
num_out_res which is part of acquire arguments from UMD
is not validated. Compute buffer size only if
num_out_res is within the valid range.
Change-Id: I9cc577df8f92b66f7f721977575d58536e4c1f2f
Signed-off-by:
Vishalsingh Hajeri <vhajeri@codeaurora.org>
Loading
Please register or sign in to comment