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
95de67b2
Commit
95de67b2
authored
Jun 30, 2021
by
Sakthivel Velumani
Committed by
Sakthivel Velumani
Jul 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent buffer under/overflow in ULSCH decoding through alignment and sufficient array size
parent
f3ea3104
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+2
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
95de67b2
...
@@ -308,8 +308,8 @@ void nr_processULSegment(void* arg) {
...
@@ -308,8 +308,8 @@ void nr_processULSegment(void* arg) {
int
max_ldpc_iterations
=
p_decoderParms
->
numMaxIter
;
int
max_ldpc_iterations
=
p_decoderParms
->
numMaxIter
;
int8_t
llrProcBuf
[
OAI_UL_LDPC_MAX_NUM_LLR
]
__attribute__
((
aligned
(
32
)));
int8_t
llrProcBuf
[
OAI_UL_LDPC_MAX_NUM_LLR
]
__attribute__
((
aligned
(
32
)));
int16_t
z
[
68
*
384
]
;
int16_t
z
[
68
*
384
+
16
]
__attribute__
((
aligned
(
16
)))
;
int8_t
l
[
68
*
384
]
;
int8_t
l
[
68
*
384
+
16
]
__attribute__
((
aligned
(
16
)))
;
__m128i
*
pv
=
(
__m128i
*
)
&
z
;
__m128i
*
pv
=
(
__m128i
*
)
&
z
;
__m128i
*
pl
=
(
__m128i
*
)
&
l
;
__m128i
*
pl
=
(
__m128i
*
)
&
l
;
...
...
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