commit | e3955a43a9f7fc0a8b378988505e75557ed34c65 | [log] [tgz] |
---|---|---|
author | Manjeet Singh <manjee@codeaurora.org> | Tue Dec 27 17:48:37 2016 +0530 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Jun 25 21:26:20 2017 +0200 |
tree | 461dffa555ba11908551db5be9a29e59846cadfb | |
parent | 56f0b68088029de43e64d126856edf86d46acb94 [diff] |
prima: Add buf len check in wlan_hdd_cfg80211_testmode 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