Commit 61334e09 authored by Manu Agrawal's avatar Manu Agrawal

Fix for Seg Fault seen in TTCN test 9.1.2.3

parent 2a2769c0
...@@ -10442,12 +10442,18 @@ void *rrc_enb_process_itti_msg(void *notUsed) { ...@@ -10442,12 +10442,18 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
ue_context_pP = rrc_eNB_get_ue_context(RC.rrc[instance], SS_RRC_PDU_REQ(msg_p).rnti); ue_context_pP = rrc_eNB_get_ue_context(RC.rrc[instance], SS_RRC_PDU_REQ(msg_p).rnti);
LOG_A(RRC, "RRC Connection Release message received \n"); LOG_A(RRC, "RRC Connection Release message received \n");
if (NULL == ue_context_pP)
{
LOG_W(RRC, "ue_context_pP is already NULL \n");
}
else {
ue_context_pP->ue_context.ue_reestablishment_timer = 0; ue_context_pP->ue_context.ue_reestablishment_timer = 0;
ue_context_pP->ue_context.ue_release_timer = 1; ue_context_pP->ue_context.ue_release_timer = 1;
ue_context_pP->ue_context.ue_release_timer_thres = 10; ue_context_pP->ue_context.ue_release_timer_thres = 10;
ue_context_pP->ue_context.ue_rrc_inactivity_timer = 0; ue_context_pP->ue_context.ue_rrc_inactivity_timer = 0;
ue_context_pP->ue_context.ue_release_timer_rrc = 0; ue_context_pP->ue_context.ue_release_timer_rrc = 0;
ue_context_pP->ue_context.ue_release_timer_thres_rrc = 0; ue_context_pP->ue_context.ue_release_timer_thres_rrc = 0;
}
security_mode_command_send = TRUE; security_mode_command_send = TRUE;
as_security_conf_ciphering = FALSE; as_security_conf_ciphering = FALSE;
if (RC.ss.CBRA_flag) if (RC.ss.CBRA_flag)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment