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

Commit ef5ad725 authored by Haibin Liu's avatar Haibin Liu Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix out of bound read access



Input num_streams cannot be greater than the max allowed
number of streams, otherwise this casue OOB read access.

Add bounds check for num_streams which from user input.

CRs-Fixed: 2330040
Change-Id: I76fb785dc54c597603d748d604844952cea659ea
Signed-off-by: default avatarHaibin Liu <haibinl@codeaurora.org>
parent 44f974ba
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