[Gstreamer-bugs] [Bug 145215] New: - [PATCH] Fix double-free bug in gst-inspect

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Wed Jun 30 12:15:27 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=145215
GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: [PATCH] Fix double-free bug in gst-inspect
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: marcus at freebsd.org
         QAContact: gstreamer-maint at bugzilla.gnome.org


Running gst-inspect on certain plug-ins (e.g. cdparanoia) produces a double-free
abort() on FreeBSD.  The problem is the g_slist_foreach() call to g_free() on
each node in the found_signals GSList.  A call to g_slist_free() should be
sufficient to free all the memory in the GSList according to the API and various
other examples.  Attached is a patch that corrects the problem.

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




More information about the Gstreamer-bugs mailing list