Skip to content
Snippets Groups Projects
Commit ad5552c9 authored by VijayaKumar T M's avatar VijayaKumar T M Committed by Stuart Scott
Browse files

msm: camera: sensor: Add boundary check for cci master


Add boundary check for cci master in i2c_read.
This value is passed from userpsace. If user sends an
invalid number for master there is a possibility of
accessing unintended buffer.

This change addresses the issue.

CRs-Fixed: 1086764
Bug: 35400552
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
Signed-off-by: default avatarVijayaKumar T M <vtmuni@codeaurora.org>
Change-Id: Ice3bde902aea96382ceb4dfddfd28a5ea89c183d
parent c3c82313
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 to comment