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
canghaiwuhen
OpenXG-RAN
Commits
2c7ee8cd
Commit
2c7ee8cd
authored
Jun 08, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid segfault in S1AP when doing ReleaseCommane s1ap_ue_context=NULL is possible
parent
4d66dba0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
openair2/RRC/LTE/rrc_eNB_S1AP.c
openair2/RRC/LTE/rrc_eNB_S1AP.c
+8
-0
No files found.
openair2/RRC/LTE/rrc_eNB_S1AP.c
View file @
2c7ee8cd
...
...
@@ -257,6 +257,14 @@ rrc_eNB_S1AP_get_ue_ids(
}
if
(
ue_desc_p
!=
NULL
)
{
struct
s1ap_eNB_ue_context_s
*
s1ap_ue_context_p
=
NULL
;
if
((
s1ap_ue_context_p
=
RB_REMOVE
(
s1ap_ue_map
,
&
s1ap_eNB_instance_p
->
s1ap_ue_head
,
ue_desc_p
))
!=
NULL
)
{
LOG_E
(
RRC
,
"Removed UE context eNB_ue_s1ap_id %u
\n
"
,
s1ap_ue_context_p
->
eNB_ue_s1ap_id
);
s1ap_eNB_free_ue_context
(
s1ap_ue_context_p
);
}
else
{
LOG_E
(
RRC
,
"Removing UE context eNB_ue_s1ap_id %u: did not find context
\n
"
,
ue_desc_p
->
eNB_ue_s1ap_id
);
}
return
NULL
;
//skip the operation below to avoid loop
result
=
rrc_eNB_S1AP_get_ue_ids
(
rrc_instance_pP
,
ue_desc_p
->
ue_initial_id
,
eNB_ue_s1ap_id
);
if
(
result
!=
NULL
)
{
...
...
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