From c0b9129c8952b265b9fcbdf8117f5210f812de31 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Thu, 16 Nov 2017 16:45:38 +0100 Subject: [PATCH] String init --- srsenb/src/phy/phch_worker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/phy/phch_worker.cc b/srsenb/src/phy/phch_worker.cc index 990633aa7..092441382 100644 --- a/srsenb/src/phy/phch_worker.cc +++ b/srsenb/src/phy/phch_worker.cc @@ -655,7 +655,7 @@ int phch_worker::decode_pucch() phy->mac->sr_detected(tti_rx, rnti); } - char cqi_ri_str[64]; + char cqi_ri_str[64] = {0}; if (srslte_pucch_get_last_corr(&enb_ul.pucch) > PUCCH_RL_CORR_TH) { if (uci_data.uci_ri_len && needs_ri) { phy->mac->ri_info(tti_rx, rnti, uci_data.uci_ri);