From 4e7f34cbae1918e3a3476e05fab5e69e079b2460 Mon Sep 17 00:00:00 2001 From: Roberto Louro Magueta Date: Wed, 10 May 2023 19:50:44 +0100 Subject: [PATCH] Fix segmentation fault in ue_context_setup_request() --- openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c b/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c index 4fdad6fb81..e9a01d98f7 100644 --- a/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c +++ b/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c @@ -103,7 +103,7 @@ void ue_context_setup_request(const f1ap_ue_context_setup_t *req) NR_SCHED_LOCK(&mac->sched_lock); NR_UE_info_t *UE = find_nr_UE(&RC.nrmac[0]->UE_info, req->rnti); - AssertFatal(UE != NULL, "did not find UE with RNTI %04x, but UE Context Setup Failed not implemented\n", UE->rnti); + AssertFatal(UE != NULL, "did not find UE with RNTI %04x, but UE Context Setup Failed not implemented\n", req->rnti); if (req->srbs_to_be_setup_length > 0) handle_ue_context_srbs_setup(req, &resp, UE->CellGroup);