mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-01 21:00:19 +00:00
fix: Add the exception handling (#804)
When UE/gNB repeatedly sends NGAP message repeatedly, AMF crashed. Exception routines have been added to resolve this issue.
This commit is contained in:
parent
9b5cc4a568
commit
b6bcbac3e3
20 changed files with 159 additions and 41 deletions
|
|
@ -1022,7 +1022,7 @@ ogs_sbi_xact_t *ogs_sbi_xact_add(
|
|||
ogs_assert(sbi_object);
|
||||
|
||||
ogs_pool_alloc(&xact_pool, &xact);
|
||||
ogs_assert(xact);
|
||||
if (!xact) return NULL;
|
||||
memset(xact, 0, sizeof(ogs_sbi_xact_t));
|
||||
|
||||
xact->target_nf_type = target_nf_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue