[gstreamer-bugs] [Bug 321136] New: [matroska-mux] avoid reading from unref'ed buffer

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Nov 10 02:05:34 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321136
 GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: [matroska-mux] avoid reading from unref'ed buffer
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: josef.zlomek at xeris.cz
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


When matroska muxer is going to write the block duration, it reads the duration
from buffer which has been already passed to gst_pad_push and thus possibly
unreferenced.

The attached patch assigns the duration to a variable before pushing it to pad.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list