commit | 00b2a567adfa66a2d8b5235e4015d45c86dd45be | [log] [tgz] |
---|---|---|
author | Manjeet Singh <manjee@codeaurora.org> | Tue Jan 03 12:08:10 2017 +0530 |
committer | snandini <snandini@codeaurora.org> | Mon Jul 31 03:52:14 2017 -0700 |
tree | 9a23791c88f1b1e0efe1f8efa44eb69a076efbff | |
parent | 0769c777d9e7f3690d3098551c0d88f0222b5ff3 [diff] |
qcacld-3.0: Add buf len check in wlan_hdd_cfg80211_testmode qcacld-2.0 to qcacld-3.0 propagation. In __wlan_hdd_cfg80211_testmode API no checks are in place that ensure that buflen is smaller or equal the size of the stack variable hb_params. Hence, the vos_mem_copy() call can overflow stack memory. Add buf len check to avoid stack overflow CRs-Fixed: 1105085 Change-Id: I6af6a74cc38ebce3337120adcf7e9595f22d3d8c