android_kernel_xiaomi_sm8350/core/hdd
gaurank kathpalia 18b4936767 qcacld-3.0: Fix out of bound write in mcs_set
The driver fills the mcs set array in
hdd_update_tgt_ht_cap for all rf chains
and does not have a upper boundary check to
cfg->num_rf_chains, which could lead
to out of bound write a valid value
to a memory which not allocated to mcs set

Fix is to have a check to cfg->num_rf_chains

Change-Id: Ibeb5e783e2369ebee1bbf3fc724d06736c174c69
CRs-Fixed: 2221902
2018-05-15 19:05:15 -07:00
..
inc qcacld-3.0: Set RPS CPU mask when t-put is high 2018-05-15 15:37:49 -07:00
src qcacld-3.0: Fix out of bound write in mcs_set 2018-05-15 19:05:15 -07:00