[Bug 753759] New: liveadder: assertion on buffer copy region

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 18 05:15:30 PDT 2015


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

            Bug ID: 753759
           Summary: liveadder: assertion on buffer copy region
    Classification: Platform
           Product: GStreamer
           Version: 1.5.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: guillaume.marquebielle at parrot.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 309457
  --> https://bugzilla.gnome.org/attachment.cgi?id=309457&action=edit
Patch fixing the issue

In gst_live_adder_chain() function, calls to gst_buffer_copy_region() can lead
to assertion as 'offset + size <= bufsize' is not respected.
Indeed 'offset' and 'size' parameters are calculated through calling
gst_live_adder_length_from_duration(),
and thus gst_util_uint64_scale_int_round().
Depending on the nearest integers, rounded values 'offset' and 'size' can then
trigger the assertion.
This case mainly occurs when 'skip' value is > 0 in chain function process.

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