commit | 89697c49b0943620d74e17d80795600c1b1a28e3 | [log] [tgz] |
---|---|---|
author | Arif Hussain <arifhussain@codeaurora.org> | Tue Jul 19 09:26:15 2016 -0700 |
committer | Vishwajith Upendra <vishwaji@codeaurora.org> | Sun Jul 31 01:06:19 2016 -0700 |
tree | fd37aae111939c000c927b91c7dbe5b4b562b382 | |
parent | a86aa4362b78ee4feb764403c8ade10c4b5521f7 [diff] |
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