mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacld-3.0: Add lost AP sample size entry to nla policy
qcacld-2.0 to qcacld-3.0 Propagation. improper validation of QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_LOST_AP_SAMPLE_SIZE results in assigning an unchecked user-controller value. This can lead to buffer overflow. validate QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_LOST_AP_SAMPLE_SIZE. CRs-Fixed: 2056253 Change-Id: I7c33b6d78054672e9effbe9100c29e5604c250c6
This commit is contained in:
parent
75f21eb780
commit
dec1bfc9dc
1 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,8 @@ static const struct nla_policy wlan_hdd_extscan_config_policy
|
|||
.type = NLA_S32 },
|
||||
[QCA_WLAN_VENDOR_ATTR_EXTSCAN_CONFIGURATION_FLAGS] = {
|
||||
.type = NLA_U32 },
|
||||
[QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_LOST_AP_SAMPLE_SIZE] = {
|
||||
.type = NLA_U32},
|
||||
};
|
||||
|
||||
static const struct nla_policy
|
||||
|
|
|
|||
Loading…
Reference in a new issue