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
promise
OpenXG-RAN
Commits
7c7172ca
Commit
7c7172ca
authored
8 years ago
by
GabrielCouturier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RLC AM fix bad pointer init in ReSegmentation
parent
b218eea8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
+1
-1
No files found.
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
View file @
7c7172ca
...
...
@@ -352,13 +352,13 @@ mem_block_t* rlc_am_retransmit_get_am_segment(
{
/* Step 1 */
/* Find the SDU index in the original PDU containing retx_so_start */
uint16_t
temp_read
=
((
*
pdu_original_header_p
)
<<
8
)
|
(
*
(
pdu_original_header_p
+
1
));
sdu_size_t
sdu_size
=
0
;
sdu_size_t
data_size
=
0
;
sdu_size_t
header_segment_length
=
RLC_AM_PDU_SEGMENT_HEADER_MIN_SIZE
;
pdu_original_header_p
=
pdu_mngt
->
first_byte
+
2
;
li_bit_offset
=
4
;
/* toggle between 0 and 4 */
li_jump_offset
=
1
;
/* toggle between 1 and 2 */
uint16_t
temp_read
=
((
*
pdu_original_header_p
)
<<
8
)
|
(
*
(
pdu_original_header_p
+
1
));
/* Read first LI */
...
...
This diff is collapsed.
Click to expand it.
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