[Bug 678017] New: gstfunnel: access of freed pad object

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 13 06:16:52 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=678017
  GStreamer | gstreamer (core) | git

           Summary: gstfunnel: access of freed pad object
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: davidsf at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=216277)
 View: https://bugzilla.gnome.org/attachment.cgi?id=216277
 Review: https://bugzilla.gnome.org/review?bug=678017&attachment=216277

gstfunnel: avoid access of freed pad

When running gst-rtsp-server in valgrind, I've found an issue in gstfunnel.c.
In gst_funnel_release_pad, a pad object is accessed after a call to
gst_element_remove_pad. This can be problematic, because gst_element_remove_pad
may free the pad. The attached suggested patch avoids this problem.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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