From f6b4a534606e865d803b06de1f188c35820a2603 Mon Sep 17 00:00:00 2001 From: Balaji Shankaran Date: Fri, 28 Feb 2020 16:44:58 +0530 Subject: [PATCH 1/1] removed extra byte Change-Id: Ifa39c7985e64c3f2d5b40148b9e025f71db79da4 Signed-off-by: Balaji Shankaran --- src/du_app/du_f1ap_msg_hdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/du_app/du_f1ap_msg_hdl.c b/src/du_app/du_f1ap_msg_hdl.c index a91f0593a..377f353bf 100644 --- a/src/du_app/du_f1ap_msg_hdl.c +++ b/src/du_app/du_f1ap_msg_hdl.c @@ -850,7 +850,7 @@ S16 BuildServedCellList(GNB_DU_Served_Cells_List_t *duServedCell) } /* MIB */ srvCellItem->gNB_DU_System_Information->mIB_message.size =\ - strlen(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg) + 1; + strlen(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg); DU_ALLOC(srvCellItem->gNB_DU_System_Information->mIB_message.buf, srvCellItem->gNB_DU_System_Information->mIB_message.size); if(!srvCellItem->gNB_DU_System_Information->mIB_message.buf) -- 2.16.6