[Bug 758010] New: mpegtsdemux: stream->section_data leak if there is a stream discontinuity

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 12 07:42:56 PST 2015


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

            Bug ID: 758010
           Summary: mpegtsdemux: stream->section_data leak if there is a
                    stream discontinuity
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas.huet at parrot.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 315346
  --> https://bugzilla.gnome.org/attachment.cgi?id=315346&action=edit
patch removing the leak

If packet->payload_unit_start_indicator is true and pointer 0, there is no
discontinuity check. Therefore there could be a previous section not complete
that need to be cleared.

I have attached a patch that fix the issue.

In the function mpegts_packetizer_stream_free, I have also removed the free on
section_data which is already done in mpegts_packetizer_clear_section

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