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
wangjie
OpenXG-RAN
Commits
824faeb1
Commit
824faeb1
authored
May 22, 2021
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid a segmentation fault in LTE when first_uci_stats is NULL
parent
363c2bc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/pucch.c
+8
-1
No files found.
openair1/PHY/LTE_TRANSPORT/pucch.c
View file @
824faeb1
...
...
@@ -982,7 +982,14 @@ uint32_t rx_pucch(PHY_VARS_eNB *eNB,
break
;
}
else
if
(
first_uci_stats
==
NULL
&&
eNB
->
uci_stats
[
i
].
rnti
==
0
)
first_uci_stats
=
&
eNB
->
uci_stats
[
i
];
if
(
uci_stats
==
NULL
)
{
uci_stats
=
first_uci_stats
;
uci_stats
->
rnti
=
eNB
->
uci_vars
[
UCI_id
].
rnti
;}
if
(
uci_stats
==
NULL
)
{
if
(
first_uci_stats
==
NULL
)
{
LOG_E
(
PHY
,
"first_uci_stats is NULL
\n
"
);
return
-
1
;
}
uci_stats
=
first_uci_stats
;
uci_stats
->
rnti
=
eNB
->
uci_vars
[
UCI_id
].
rnti
;
}
AssertFatal
(
uci_stats
!=
NULL
,
"No stat index found
\n
"
);
uci_stats
->
frame
=
frame
;
...
...
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