[Bug 776125] New: fix an use after free in gst_base_sink_send_event()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 15 09:55:14 UTC 2016


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

            Bug ID: 776125
           Summary: fix an use after free in gst_base_sink_send_event()
    Classification: Platform
           Product: GStreamer
           Version: 1.8.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fabrice at bellet.info
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 342006
  --> https://bugzilla.gnome.org/attachment.cgi?id=342006&action=edit
Hold a reference on the event until the debug macro is called.

Hi!

I noticed with the address sanitizer a case where the event may be disposed
while being pushed. When this happens, the event cannot be used in the
GST_DEBUG_OBJECT() macro a couple of line later.

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