msm: camera: sensor: Add check for overflow for sensor util
Power count is coming from userspace which needs a validation for
overflow. This change adds overflow condition as well as out of
boundary for power setting array.
Change-Id: If498361883cb970cbd8d8f289a3bcd4a7476f6bd
Signed-off-by:
Jigarkumar Zala <jzala@codeaurora.org>
Loading
Please register or sign in to comment