[Bug 691698] Memory corruption: gst_pad_get_pad_template_caps returns a reference on GST_CAPS_ANY

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 14 01:18:58 PST 2013


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

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |slomo at circular-chaos.org

--- Comment #2 from Sebastian Dröge <slomo at circular-chaos.org> 2013-01-14 09:18:52 UTC ---
GST_CAPS_ANY is initialized during gst_init() and never freed (so there's
always at least one reference). gst_caps_ref() is increasing the refcount of
that atomically and returning the new reference.

If you get any memory corruption, most likely some code is not handling
refcounting on the caps correctly. Do you have a testcase to reproduce the
memory corruption?

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