[Bug 782648] heap-use-after-free in gst_debug_print_object() spotted by Asan

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 2 22:35:54 UTC 2017


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

Mathieu Duponchelle <mduponchelle1 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mduponchelle1 at gmail.com

--- Comment #10 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #9)
> Not sure what else we can do here

Maybe have a "set_name_unchecked" function, called from both
gst_object_set_name and gst_object_set_property, in gst_object_set_name check
if refcount > 1 and in set_property if refcount > 2?

That's pretty clunky but the best I can think of

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