Skip to content
Snippets Groups Projects
Commit 4e3e8980 authored by Brendan McGrath's avatar Brendan McGrath Committed by Steven Liu
Browse files

dashdec: Fix segfault on decoding segment timeline


If first_seq_no is not within the bounds of timelines then a segfault
will occur.
This patch removes the use of first_seq_no within the timelines array
It also adds first_seq_no to the value returned by calc_next_seg_no_from_timelines
(which allows for different values of 'startNumber')

Signed-off-by: default avatarBrendan McGrath <redmcg@redmandi.dyndns.org>
parent fa8308d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment