diff options
| author | Naveen Rawat <naveenrawat@codeaurora.org> | 2018-04-27 16:35:59 -0700 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-04-30 13:56:18 -0700 |
| commit | eb6f2ef57c61efbaee9eb1792d330bcba885e360 (patch) | |
| tree | 25ed5841c2feac9e1bb86f7c7bc7532f8b391da8 | |
| parent | b1feaefd8bdbefd6f6b4767d32c72e292ebaf334 (diff) | |
qcacld-3.0: Avoid un-initialized access to arp rsp_stats
In function wma_get_arp_stats_handler avoid un-initialized
access to arp rsp_stats by initializing it to 0s.
Change-Id: I95c41f89740bff276ed5c6736b4ad9da3ef6ce87
CRs-Fixed: 2232401
| -rw-r--r-- | core/wma/src/wma_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 7e316576441e..64962f2beb18 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -10899,7 +10899,7 @@ int wma_get_arp_stats_handler(void *handle, uint8_t *data, wmi_vdev_get_arp_stats_event_fixed_param *data_event; wmi_vdev_get_connectivity_check_stats *connect_stats_event; uint8_t *buf_ptr; - struct rsp_stats rsp; + struct rsp_stats rsp = {0}; tpAniSirGlobal mac = cds_get_context(QDF_MODULE_ID_PE); ENTER(); |
