diff options
| author | Lihua Liu <lihual@codeaurora.org> | 2018-08-28 17:58:12 +0800 |
|---|---|---|
| committer | Lihua Liu <lihual@codeaurora.org> | 2018-08-28 18:29:55 +0800 |
| commit | b8adc99a1c53c2c441431e0fe72a08fc501c3e3f (patch) | |
| tree | 0467a36aa7d14cbf6c9284fe3f01f3a683017a5c /tools/perf/scripts/python | |
| parent | 95c63cc58f8c7ad93059e3036da3fcce1fc9f43b (diff) | |
qcacld-2.0: Add sanity check for number of MPDU
The value num_elems in function htt_rx_mac_header_mon_process
is read from FW and may exceed the actual number of MAC header,
then OOB read occurs when executing memcopy from mac_array.
To address this, add sanity check for num_elems.
Change-Id: I4bda9501c2449af018f57789044795222d6258e5
CRs-Fixed: 2299748
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
