From 3aec31fddca813285386db603724d6fe21d0cae2 Mon Sep 17 00:00:00 2001
From: Raymond Knopp <raymond.knopp@eurecom.fr>
Date: Mon, 23 Sep 2019 16:51:12 +0200
Subject: [PATCH] allocation of null pointers

---
 openair2/RRC/NR_UE/rrc_UE.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openair2/RRC/NR_UE/rrc_UE.c b/openair2/RRC/NR_UE/rrc_UE.c
index a7082915e36..e611f516cfa 100755
--- a/openair2/RRC/NR_UE/rrc_UE.c
+++ b/openair2/RRC/NR_UE/rrc_UE.c
@@ -218,7 +218,7 @@ void process_nsa_message(NR_UE_RRC_INST_t *rrc, nsa_message_t nsa_message_type,
   switch (nsa_message_type) {
     case nr_SecondaryCellGroupConfig_r15:
       {
-	NR_RRCReconfiguration_t *RRCReconfiguration;
+	NR_RRCReconfiguration_t *RRCReconfiguration=NULL;
 	asn_dec_rval_t dec_rval = uper_decode_complete( NULL,
 							&asn_DEF_NR_RRCReconfiguration,
 							(void **)&RRCReconfiguration,
@@ -236,7 +236,7 @@ void process_nsa_message(NR_UE_RRC_INST_t *rrc, nsa_message_t nsa_message_type,
       break;
     case nr_RadioBearerConfigX_r15:
       {
-	NR_RadioBearerConfig_t *RadioBearerConfig;
+	NR_RadioBearerConfig_t *RadioBearerConfig=NULL;
 	asn_dec_rval_t dec_rval = uper_decode_complete( NULL,
 							&asn_DEF_NR_RadioBearerConfig,
 							(void **)&RadioBearerConfig,
-- 
GitLab