[Bug 762148] dashdemux: correctly handle an HTTP-XSDATE that is exactly the size of the date string

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 23 12:43:43 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 72e46a447818a484e24caeecd33915612e4b0be8
Author: Florin Apostol <florin.apostol at oregan.net>
Date:   Tue Feb 23 10:49:40 2016 +0000

    dashdemux: correctly handle an HTTP-XSDATE that is exactly the size of the
date string

    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().

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

-- 
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