android_kernel_xiaomi_sm8350/core/hdd
Manjeet Singh 00b2a567ad 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
2017-07-31 03:52:14 -07:00
..
inc qcacld-3.0: Add INI template for SSR feature 2017-07-30 14:00:47 -07:00
src qcacld-3.0: Add buf len check in wlan_hdd_cfg80211_testmode 2017-07-31 03:52:14 -07:00