diff options
| author | Jingxiang Ge <jge@codeaurora.org> | 2018-10-23 17:38:21 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-10-31 22:39:47 -0700 |
| commit | 56fafa99a64a74d39072b101672bc6399ac881c7 (patch) | |
| tree | 2477d1c62ffa19a42a23a1ae7c1f27996f7df251 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | bd4b81a69aa3e9c7c480064dee3bd597007c49c3 (diff) | |
qcacld-2.0: Fix possible integer underflow in cfg80211_rx_mgmt
propagation from qcacld-3.0 to qcacld-2.0
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: 2337425
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
