From 9ef95055a11798dd2d949187edfcd00c8abeec53 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Thu, 7 May 2015 08:12:37 +0000
Subject: [PATCH] fix a crash (at this point "ue_context_p" is NULL, so
 "ue_context_p->ue_context.random_ue_identity" should not be accessed, changed
 by "random_value")

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7388 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair2/RRC/LITE/rrc_eNB.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openair2/RRC/LITE/rrc_eNB.c b/openair2/RRC/LITE/rrc_eNB.c
index 97ce53b671..aa4721d16c 100644
--- a/openair2/RRC/LITE/rrc_eNB.c
+++ b/openair2/RRC/LITE/rrc_eNB.c
@@ -3589,7 +3589,7 @@ rrc_eNB_decode_ccch(
           // no context available
           LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Can't create new context for UE random UE identity (0x%" PRIx64 ")\n",
                 PROTOCOL_RRC_CTXT_UE_ARGS(ctxt_pP),
-                ue_context_p->ue_context.random_ue_identity);
+                random_value);
           return -1;
         }
       }
-- 
GitLab