summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarprit Chhabada <harpritchhabada@codeaurora.org>2019-01-09 17:12:34 -0800
committernshrivas <nshrivas@codeaurora.org>2019-01-24 17:46:06 -0800
commitbd7357fa14c7e69bb6c5d02c36e4dfe3750a5390 (patch)
treece86a8d7220b3a62ae46718d230eb3527b401495 /tools/perf/scripts/python
parentcca20dfaf6d6e653cab5f0c829e742a003173989 (diff)
qcacld-3.0: Fix OOB in wlan_hdd_netif_queue_control
Put spinlock when adapter->history_index is getting incremented. There is possibility of race condition in the increment of adapter->history_index as there are multiple call paths that invoke wlan_hdd_netif_queue_control() that are not all within the same thread. Since the check is to see if it equals the max value, we can exceed the bounds of the array on the next invocation of this function, resulting in a OOB. Change-Id: I0d127b2e47bee32cd0b8a0281c6213895f3d4960 CRs-Fixed: 2370801
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions