summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPragaspathi Thilagaraj <tpragasp@codeaurora.org>2018-07-17 11:43:18 +0530
committernshrivas <nshrivas@codeaurora.org>2018-07-23 07:45:42 -0700
commitdf1f79560b4403bd1222a71490a821941e103de9 (patch)
tree93d43aefa5d7e42dd32429317e6118260b7bfe93 /tools/perf/scripts/python
parent7e2d77499a62191d33bf23ea28c5ba528178af32 (diff)
qcacld-3.0: Fix possible integer underflow in cfg80211_rx_mgmt
In the function cfg80211_rx_mgmt, data_len is calculated as len - ieee80211_hdrlen(mgmt->frame_control). Len is not validated before this calculation. So a possible integer underflow will occur if len value is less than the value of ieee80211_hdrlen(mgmt->frame_control). Validate the value of len against ieee80211_hdrlen(mgmt->frame_control) in the caller. Change-Id: Iae776daf37b0c052bd4ce4da44ea728d121eae51 CRs-Fixed: 2263758
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions