Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
dbd00175
Commit
dbd00175
authored
Oct 27, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PSEA - SABOX fix - Avoid the infinite loop, when not receiving an APN Operator Identifier
parent
bef72dd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c
+1
-4
No files found.
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c
View file @
dbd00175
...
@@ -167,13 +167,10 @@ void capture_pdu_session_establishment_accept_msg(uint8_t *buffer, uint32_t msg_
...
@@ -167,13 +167,10 @@ void capture_pdu_session_establishment_accept_msg(uint8_t *buffer, uint32_t msg_
case
IEI_DNN
:
case
IEI_DNN
:
LOG_T
(
NAS
,
"PDU SESSION ESTABLISHMENT ACCEPT - Received DNN IE
\n
"
);
LOG_T
(
NAS
,
"PDU SESSION ESTABLISHMENT ACCEPT - Received DNN IE
\n
"
);
psea_msg
.
dnn_ie
.
dnn_length
=
*
(
buffer
+
offset
++
);
psea_msg
.
dnn_ie
.
dnn_length
=
*
(
buffer
+
offset
++
);
uint8_t
i
=
0
;
char
apn
[
APN_MAX_LEN
];
char
apn
[
APN_MAX_LEN
];
while
(
*
(
buffer
+
offset
+
i
)
!=
ASCII_ACK
)
{
for
(
int
i
=
0
;
i
<
psea_msg
.
dnn_ie
.
dnn_length
;
++
i
)
apn
[
i
]
=
*
(
buffer
+
offset
+
i
);
apn
[
i
]
=
*
(
buffer
+
offset
+
i
);
++
i
;
}
LOG_T
(
NAS
,
"PDU SESSION ESTABLISHMENT ACCEPT - APN: %s
\n
"
,
apn
);
LOG_T
(
NAS
,
"PDU SESSION ESTABLISHMENT ACCEPT - APN: %s
\n
"
,
apn
);
offset
+=
psea_msg
.
dnn_ie
.
dnn_length
;
offset
+=
psea_msg
.
dnn_ie
.
dnn_length
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment