summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPragaspathi Thilagaraj <tpragasp@codeaurora.org>2018-06-05 15:42:17 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-07 09:06:06 -0700
commit7692b482e0a5409e71cca38fe43f31eab488ca10 (patch)
tree9924030523a4fbfbceddf1312700f9e6e01d0ff9 /tools/perf/scripts/python
parent8b538602e4f127f8bfa5eb94b12e15d68c7080eb (diff)
qcacld-3.0: Fix uninitialized buffer use in wma_mgmt_rx_process
In the function wma_mgmt_rx_process, wbuf is the allocated skb which houses the incomming management frame. An extra 100 bytes buffer is allocated in wbuf->data to avoid OOB access when additional headers are present in addition to ieee80211_frame. This additional buffer is uninitialized and can cause potential OOB for the management frames of length sizeof(struct ieee80211_frame) and have no IE or any data. Initialize the allocated extra bytes so that OOB is prevented. Change-Id: I44047b0c6f3a731c741c5e0217f3bd0cdd8ed4dc CRs-Fixed: 2249815
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions