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

Commit e5990a44 authored by VijayaKumar T M's avatar VijayaKumar T M
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: Ib3edd2320a0df97b5519ff9361a021c71e69488b
Signed-off-by: default avatarGaoxiang Chen <gaochen@codeaurora.org>
Signed-off-by: default avatarVijayaKumar T M <vtmuni@codeaurora.org>
parent 827c6ada
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