Skip to content

Commit

Permalink
need to check mme_ue context before proceedingwith esm state machine
Browse files Browse the repository at this point in the history
  • Loading branch information
spencersevilla committed Jan 23, 2024
1 parent 9f311c2 commit fbcdf5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mme/emm-sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ void emm_state_de_registered(ogs_fsm_t *s, mme_event_t *e)
mme_ue = e->mme_ue;
ogs_assert(mme_ue);

mme_ue = mme_ue_cycle(mme_ue);
if (!mme_ue) {
ogs_warn("mme_ue context has already been removed");
return;
}

switch (e->id) {
case OGS_FSM_ENTRY_SIG:
CLEAR_SERVICE_INDICATOR(mme_ue);
Expand Down

0 comments on commit fbcdf5c

Please sign in to comment.