summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorPragaspathi Thilagaraj <tpragasp@codeaurora.org>2018-05-23 17:08:26 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-28 16:02:03 -0700
commit74c426436bffa6fa8e6c02e7a876a6c18156a3c1 (patch)
tree91dfe4b0cb69f26ff1562fd93b02f96f385ca3c9 /scripts/objdiff
parentd4420389ed380d1bdc6305dc97a9ac80c82b7312 (diff)
qcacld-3.0: Fix possible OOB write in wma_update_intf_hw_mode_params
In the function wma_update_intf_hw_mode_params, vdev_id received from caller wma_pdev_set_hw_mode_resp_evt_handler, is used as the array index for wma->interfaces. If vdev_id exceeds wma->max_bssid then a possible OOB write could occur. Add check to validate vdev_id against wma->max_bssid. Print error if it exceeds. Change-Id: I3ddf5e1b24fbd2bd401ac879219300857d05e4b7 CRs-Fixed: 2243990
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions