Skip to content
Snippets Groups Projects
Commit 25966c54 authored by Srinivas Girigowda's avatar Srinivas Girigowda Committed by Thierry Strudel
Browse files

qcacld-2.0: Fix potential buffer overwrite in wma_roam_synch_event_handler


In the function wma_roam_synch_event_handler, vdev_id is received from
the fw and is used to access member of the array wma->interfaces without
validating the max of the vdev_id received from the fw

Add check to make sure vdev_id is less than max_bssid before using it

Change-Id: I3b940e183ab66680891cb7351af4537b50afce1d
CRs-Fixed: 2147083
Bug: 68992434
Signed-off-by: default avatarSrinivas Girigowda <sgirigow@codeaurora.org>
parent 585aad3e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment