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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
a8550e42
Commit
a8550e42
authored
Sep 09, 2021
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory allocation issue at UE ctxt setup response handling
parent
21a9ca8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-3
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
a8550e42
...
...
@@ -3283,9 +3283,9 @@ static void rrc_CU_process_ue_context_setup_response(MessageDef *msg_p, const ch
LOG_I
(
NR_RRC
,
"rlc_BearerToAddModList not empty before filling it
\n
"
);
free
(
ue_context_p
->
ue_context
.
masterCellGroup
->
rlc_BearerToAddModList
);
}
ue_context_p
->
ue_context
.
masterCellGroup
->
rlc_BearerToAddModList
=
calloc
(
1
,
sizeof
(
cellGroupConfig
->
rlc_BearerToAddModList
));
ue_context_p
->
ue_context
.
masterCellGroup
->
rlc_BearerToAddModList
=
calloc
(
1
,
sizeof
(
*
cellGroupConfig
->
rlc_BearerToAddModList
));
memcpy
(
ue_context_p
->
ue_context
.
masterCellGroup
->
rlc_BearerToAddModList
,
cellGroupConfig
->
rlc_BearerToAddModList
,
sizeof
(
struct
NR_CellGroupConfig__
rlc_BearerToAddModList
));
sizeof
(
*
cellGroupConfig
->
rlc_BearerToAddModList
));
}
xer_fprint
(
stdout
,
&
asn_DEF_NR_CellGroupConfig
,
ue_context_p
->
ue_context
.
masterCellGroup
);
...
...
@@ -3800,7 +3800,6 @@ void *rrc_gnb_task(void *args_p) {
case
F1AP_UE_CONTEXT_SETUP_RESP
:
rrc_CU_process_ue_context_setup_response
(
msg_p
,
msg_name_p
,
instance
);
LOG_W
(
NR_RRC
,
"Handling of F1 UE context setup response context at the RRC layer of the CU is pending
\n
"
);
break
;
/* Messages from X2AP */
...
...
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