[Bug 767688] queue2: fix crash deleting current region for small ring buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 21 09:33:39 UTC 2016


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

Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.9.1

--- Comment #11 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
commit 08d30b05c63cfef7244e02ba04ff9de07f4ced3c
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Wed Jun 15 16:24:27 2016 +0100

    tests: add a test for small ring buffer sizes

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

commit b3802f7a9e7988901367196dd3dc45cf4053d850
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Wed Jun 15 13:43:59 2016 +0100

    queue2: fix crash deleting current region for small ring buffers

    Ensure we do not attempt to destroy the current range. Doing so
    causes the current one to be left dangling, and it may be dereferenced
    later, leading to a crash.

    This can happen with a very small queue2 ring buffer (10000 bytes)
    and 4 kB buffers.

    repro case:

    gst-launch-1.0 fakesrc sizetype=2 sizemax=4096 ! \
    queue2 ring-buffer-max-size=1000 ! fakesink sync=true

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

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