Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e53f2adc authored by Terence Ho's avatar Terence Ho Committed by Andy Sun
Browse files

msm: camera: validate num_streams in stream_cfg_cmd before using it



stream_cfg_cmd->num_streams is from userspace,
need to check it against MSM_ISP_STATS_MAX before using it.

CRs-Fixed: 2029867
Change-Id: I02a71b983947981806470454654d712bcc732077
Signed-off-by: default avatarTerence Ho <terenceh@codeaurora.org>
parent 560a996d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment