[Bug 782648] heap-use-after-free in gst_debug_print_object() spotted by Asan
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon May 15 10:14:58 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=782648
--- Comment #7 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 351877
--> https://bugzilla.gnome.org/attachment.cgi?id=351877
object: Warn if setting the object name if reference count is greater than 1
>+ if (GST_OBJECT_REFCOUNT (object) > 1) {
>+ g_warning
>+ ("Trying to set name on GstObject with reference count greater than 1");
>+ }
Should maybe be GST_OBJECT_REFCOUNT_VALUE, so we do an atomic int get,
otherwise asan will probably complain again ;)
--
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