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
lizhongxiao
OpenXG-RAN
Commits
698b0f5f
Commit
698b0f5f
authored
Jan 15, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trying to avoid heap-use-after-free in ue dci configuration
parent
60a033b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
+3
-2
No files found.
openair2/LAYER2/NR_MAC_UE/main_ue_nr.c
View file @
698b0f5f
...
...
@@ -206,12 +206,13 @@ void release_mac_configuration(NR_UE_MAC_INST_t *mac)
free
(
sc
->
maxMIMO_Layers_PUSCH
);
memset
(
&
mac
->
sc_info
,
0
,
sizeof
(
mac
->
sc_info
));
mac
->
current_DL_BWP
=
NULL
;
mac
->
current_UL_BWP
=
NULL
;
for
(
int
i
=
0
;
i
<
mac
->
dl_BWPs
.
count
;
i
++
)
release_dl_BWP
(
mac
,
i
);
for
(
int
i
=
0
;
i
<
mac
->
ul_BWPs
.
count
;
i
++
)
release_ul_BWP
(
mac
,
i
);
mac
->
current_DL_BWP
=
NULL
;
mac
->
current_UL_BWP
=
NULL
;
for
(
int
i
=
0
;
i
<
NR_MAX_NUM_LCID
;
i
++
)
{
nr_release_mac_config_logicalChannelBearer
(
mac
,
i
+
1
);
...
...
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