diff options
| author | Srinivas Girigowda <sgirigow@codeaurora.org> | 2018-02-14 17:35:15 -0800 |
|---|---|---|
| committer | Oleg Matcovschi <omatcovschi@google.com> | 2018-03-13 19:47:41 -0700 |
| commit | ef7168435d5783fa9167b9f39b520f3304781746 (patch) | |
| tree | 0d4e65fd21e147b3a572588655b1a1f451938b48 /lib/mpi/mpiutil.c | |
| parent | 662f5c8ddee8a1fb5535a3fda3a2e94acdc1337b (diff) | |
qcacld-3.0: Add sanity check for vdev_id in wma_wow_wakeup_host_event
Currently wake_info->vdev_id, recevied from the FW, is directly used
to refer to wma->interfaces without validating if the vdev_id is valid.
Add sanity check to make sure vdev_id is less than max_bssid before
using it.
Bug: 71501687
CRs-Fixed: 2121059
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
