mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-01 20:44:06 +00:00
[SMF] session data was accessed when NULL (#1105)
This commit is contained in:
@@ -1175,11 +1175,8 @@ out:
|
||||
}
|
||||
|
||||
/* Store this value in the session */
|
||||
if (sess_data) {
|
||||
ret = fd_sess_state_store(smf_gx_reg, session, &sess_data);
|
||||
ogs_assert(ret == 0);
|
||||
ogs_assert(sess_data == NULL);
|
||||
}
|
||||
ret = fd_sess_state_store(smf_gx_reg, session, &sess_data);
|
||||
ogs_assert(sess_data == NULL);
|
||||
|
||||
ret = fd_msg_send(msg, NULL, NULL);
|
||||
ogs_assert(ret == 0);
|
||||
|
||||
Reference in New Issue
Block a user