diff options
| author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | 2018-07-17 11:43:18 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-07-23 07:45:42 -0700 |
| commit | df1f79560b4403bd1222a71490a821941e103de9 (patch) | |
| tree | 93d43aefa5d7e42dd32429317e6118260b7bfe93 /tools/perf/scripts/python | |
| parent | 7e2d77499a62191d33bf23ea28c5ba528178af32 (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
