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

Commit fca792a9 authored by Wu Gao's avatar Wu Gao Committed by Gerrit - the friendly Code Review server
Browse files

qcacmn: Check smode value to avoid OOB read

It doesn't check smode before used as array index, the potential risk
is that OOB read or write once get invalid value from target. So, this
change checks smode value before using.

Change-Id: Ibc0625f43e31bc8b49694cca778726c6528290a8
CRs-Fixed: 3034136
parent 8e40d87c
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