commit | f1c167635123283d0340818d7b3e65c641d00a05 | [log] [tgz] |
---|---|---|
author | Abhishek Singh <absingh@codeaurora.org> | Wed Mar 07 10:48:46 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Wed Mar 07 01:37:30 2018 -0800 |
tree | 44dfdd127146e71fcf6823757949ccb43fc7c663 | |
parent | b903b6eeb47a1cb06e34dcb1df05c662e2861b9f [diff] |
qcacld-3.0: Fix memory corruption due to wlan_hdd_add_age_ie In wlan_hdd_add_age_ie the mgmt->u.probe_resp.variable is type casted to qcom_ie_age, before incrementing the mgmt->u.probe_resp.variable to get the qcom_ie_age pointer. This leads to memory corruption. Fixed by typecasting the pointer once the qcom_ie_age pointer is derived by incrementing the offset of qcom_ie_age from mgmt->u.probe_resp.variable. Change-Id: Iafcdb5c17f0d9c234687ddcc6f8b9100b21cc957 CRs-Fixed: 2201303