android_kernel_xiaomi_sm8350/core
Arif Hussain 89697c49b0 qcacld-3.0: Fix possible uninitialized variable access in wma_add_bss_sta_mode
In function wma_add_bss_sta_mode, variable "peer" is not initialized.
Possibly we may pass this variable to wma_remove_peer function as is
and that can be dereferenced inside wma_remove_peer function.

So initialize peer with NULL to avoid dereferencing uninitialized variable.

Change-Id: Ibc484759b5e92052a3500137464e47287ccad939
CRs-Fixed: 1042968
2016-07-31 01:06:19 -07:00
..
bmi qcacld-3.0: Fix null qdf_dev pointer in ramdump handler 2016-07-14 16:53:12 -07:00
cds qcacld-3.0: Regulatory updates 2016-07-29 13:05:09 -07:00
dp qcacld-3.0: Move QDF_NBUF_UPDATE_TX_PKT_COUNT before freeing netbuf 2016-07-29 18:15:17 -07:00
hdd qcacld-3.0: Fix to avoid checking PCL when BSSID is given by upper layer 2016-07-29 18:15:21 -07:00
mac qcacld-3.0: Code clean-up in rrm_process_beacon_report_xmit 2016-07-31 01:06:17 -07:00
pld qcacld-3.0: Return correct failure code 2016-07-14 16:07:27 -07:00
sap qcacld-3.0: SAP DFS: Fix RSSI issue in extension80 segment 2016-07-28 19:27:33 -07:00
sme qcacld-3.0: Fix to avoid checking PCL when BSSID is given by upper layer 2016-07-29 18:15:21 -07:00
utils qcacld-3.0: Avoid NULL pointer dereference when ASSERT disabled 2016-07-29 18:15:18 -07:00
wma qcacld-3.0: Fix possible uninitialized variable access in wma_add_bss_sta_mode 2016-07-31 01:06:19 -07:00