Skip to content
Snippets Groups Projects
Commit 5792724f authored by Rajesh Bondugula's avatar Rajesh Bondugula Committed by Siqi Lin
Browse files

msm: camera: sensor: Validate step_boundary


step_boundary can take values upto the total_steps
Validate the step_boundary before consuming it.
Convert the type of step_index and region_index to uint16_t
step_index and region_index cannot be negative.

Bug: 27890772

CRs-Fixed: 1001092
Change-Id: I1f23fd6f28bb897824a1ef99a8873b9f986eee70
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
parent f54224a6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment