[Bug 751792] dashdemux: incorrect segment duration for a segment list

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 4 22:37:42 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=751792

--- Comment #30 from Florin Apostol <florin.apostol at oregan.net> ---
Review of attachment 325343:
 --> (https://bugzilla.gnome.org/review?bug=751792&attachment=325343)

::: ext/dash/gstmpdparser.c
@@ +4090,3 @@
+    }
+    last_media_segment =
+        g_ptr_array_index (stream->segments, stream->segments->len - 1);

the list can become empty so this will make an illegal memory access. Check the
len before calling g_ptr_array_index

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list