summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>2018-05-16 17:21:01 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-18 04:12:14 -0700
commit76d0a9ce66c90fb468ab208fe1625201f0fb8c3b (patch)
tree512e4d64964ea03f958fe07c5b1a28ddf8ca916c /tools/perf/scripts/python
parentc32d3dc4d26a9439d49d01cba2a05c767127083b (diff)
qcacld-3.0: Fix event size in GET_WIFI_INFO handler
While processing vendor command QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_INFO, respective handler wlan_hdd_cfg80211_get_wifi_info() is not allocating memory for QCA_WLAN_VENDOR_ATTR_WIFI_INFO_RADIO_INDEX in event buffer and trying to populate radio_index with nla_put_u32(). Buffer-overflow is avoided with buffer length check in nla api but error is returned. Return of error for valid user input is incorrect. To fix this, add size of radio index in event buffer size calculation. Change-Id: I39973814ae9b10466b9d5e3492a42b745a7f2a5e CRs-Fixed: 2230298
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions