From c28d157dc461fba155d49d445d1c3b3ead59d440 Mon Sep 17 00:00:00 2001
From: SAWADA Kentaro <sawa-ken@jp.fujitsu.com>
Date: Tue, 28 May 2019 19:24:44 +0900
Subject: [PATCH] Fix Coverity Scan CID 340226

---
 openair2/F1AP/f1ap_du_ue_context_management.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openair2/F1AP/f1ap_du_ue_context_management.c b/openair2/F1AP/f1ap_du_ue_context_management.c
index 1a80132ea8..7847bc28a5 100644
--- a/openair2/F1AP/f1ap_du_ue_context_management.c
+++ b/openair2/F1AP/f1ap_du_ue_context_management.c
@@ -470,6 +470,7 @@ int DU_send_UE_CONTEXT_SETUP_RESPONSE(instance_t instance) {
 
       /* sCell_ID */
       F1AP_NRCGI_t nRCGI;  // issue here
+      memset(&nRCGI, 0, sizeof(F1AP_NRCGI_t));
       MCC_MNC_TO_PLMNID(f1ap_du_data->mcc[i], f1ap_du_data->mnc[i], f1ap_du_data->mnc_digit_length[i], &nRCGI.pLMN_Identity);
 
       NR_CELL_ID_TO_BIT_STRING(f1ap_du_data->nr_cellid[0], &nRCGI.nRCellIdentity);
-- 
2.26.2