d2b90645576ad9ad45ecce8a62a01479266cef75

In function __wlan_hdd_cfg80211_vendor_scan, when SCAN_SSIDS and QCA_WLAN_VENDOR_ATTR_SCAN_FREQUENCIES are parsed, if the number of SSIDs or number of channels are more then 255 in netlink message, n_ssid and n_channels will get overflow because n_ssid and n_channels are of type uint8_t. Add a check to validate the max number of SCAN_SSIDs against MAX_SCAN_SSID and max number of channels against MAX_CHANNEL. Change-Id: Ib31dcc912fee8639e26d836d2fc5a32bf81fb43d CRs-Fixed: 2153343
This is CNSS WLAN Host Driver for products starting from iHelium
Leírás
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%