Possible use of uninitialized Variable "report" in rrm_process_beacon_req. Fix is to initialize "report" pointer to NULL, before use. Change-Id: I1dcbec60b0028d52046ce28836df83a04e2ed830 CRs-Fixed: 2734078
@@ -1211,7 +1211,7 @@ QDF_STATUS rrm_process_beacon_req(struct mac_context *mac_ctx, tSirMacAddr peer,
uint8_t *num_report, int index)
{
tRrmRetStatus rrm_status = eRRM_SUCCESS;
- tpSirMacRadioMeasureReport report;
+ tpSirMacRadioMeasureReport report = NULL;
tpRRMReq curr_req;
QDF_STATUS status = QDF_STATUS_SUCCESS;