mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08:11 +00:00
[SBI] Crash occurs when ENUM in the MAP (#2103)
This commit is contained in:
parent
ce668c556c
commit
969c116e77
1097 changed files with 266728 additions and 42047 deletions
|
|
@ -82,6 +82,29 @@ index 1df33a4d..a74f97ea 100644
|
|||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
|
||||
Check ExtIEs in ProtocolExtensionContainer
|
||||
==========================================
|
||||
diff --git a/src/smf/ngap-build.c b/src/smf/ngap-build.c
|
||||
index 9554be276..051cb6e8a 100644
|
||||
--- a/src/smf/ngap-build.c
|
||||
+++ b/src/smf/ngap-build.c
|
||||
@@ -180,13 +180,13 @@ ogs_pkbuf_t *ngap_build_pdu_session_resource_setup_request_transfer(
|
||||
|
||||
if (smf_self()->security_indication.
|
||||
maximum_integrity_protected_data_rate_downlink) {
|
||||
- NGAP_ProtocolExtensionContainer_9625P229_t *extContainer = NULL;
|
||||
+ NGAP_ProtocolExtensionContainer_11905P297_t *extContainer = NULL;
|
||||
NGAP_SecurityIndication_ExtIEs_t *extIe = NULL;
|
||||
NGAP_MaximumIntegrityProtectedDataRate_t
|
||||
*MaximumIntegrityProtectedDataRate = NULL;
|
||||
|
||||
extContainer = CALLOC(1,
|
||||
- sizeof(NGAP_ProtocolExtensionContainer_9625P229_t));
|
||||
+ sizeof(NGAP_ProtocolExtensionContainer_11905P297_t));
|
||||
ogs_assert(extContainer);
|
||||
SecurityIndication->iE_Extensions =
|
||||
(struct NGAP_ProtocolExtensionContainer *)extContainer;
|
||||
|
||||
Check common file
|
||||
===========================================
|
||||
user@host ~/Documents/git/open5gs/lib/asn1c/common$ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue