dashdemux: fixed crash when segment timeline list is greater than segment url list
authorFlorin Apostol <florin.apostol@oregan.net>
Wed, 28 Oct 2015 17:02:51 +0000 (17:02 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 29 Oct 2015 10:20:45 +0000 (10:20 +0000)
commit566e84cec1b372069b00b3594d1fa592ddd0c12c
tree766cebf3552c380b7e38d6bfa1388542dea4ba73
parent84ff565c887b1d2df956328a4ae4ec19b2fdb4ee
dashdemux: fixed crash when segment timeline list is greater than segment url list

When building the media segment list using a SegmentList node, the
gst_mpd_client_setup_representation function will iterate through the
list of S nodes and will expect to find a matching SegmentUrl node. If
one does not exist, the code made an illegal memory access.

https://bugzilla.gnome.org/show_bug.cgi?id=752496
ext/dash/gstmpdparser.c
tests/check/elements/dash_mpd.c