Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
1bfa8665
Commit
1bfa8665
authored
Jun 10, 2021
by
Pablo Gil Pereira
Browse files
Fix gather redundancy seg fault
parent
6b093d47
Pipeline
#4889
failed with stages
in 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
prrt/proto/types/block.c
View file @
1bfa8665
...
...
@@ -17,10 +17,14 @@ static void gather_redundancy_packets(const PrrtBlock *block_ptr, gf *const *fec
continue
;
}
while
(
idx_p
[
m
]
!=
-
1
)
{
while
(
idx_p
[
m
]
!=
-
1
&&
m
<
n
)
{
m
++
;
}
if
(
m
==
n
)
{
break
;
}
PrrtPacket_copy_payload_to_buffer
(
fec
[
m
],
packet
,
PRRT_PACKET_REDUNDANCY_HEADER_SIZE
);
idx_p
[
m
]
=
packet
->
index
;
}
...
...
Write
Preview
Supports
Markdown
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