[Bug 762148] New: dashdemux: correctly handle an HTTP-XSDATE that is exactly the size of the date string
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 16 14:55:05 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=762148
Bug ID: 762148
Summary: dashdemux: correctly handle an HTTP-XSDATE that is
exactly the size of the date string
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: florin.apostol at oregan.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The code in the gst_dash_demux_parse_http_xsdate() was trying to
handle the case where the string is not null terminated by resizing
the buffer and appending a zero byte. This does not work if the buffer
is exactly the length of the string because the gst_buffer_resize()
function does not re-allocate the buffer, it just changes its size.
If a buffer is passed to gst_dash_demux_parse_http_xsdate() that is
exactly the length of the string, the function fails with an assert
failure in gst_buffer_resize().
--
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