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

Commit 6599529e 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: I2ab892b7d406fc56de94c261a396866269e91d1a
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