heap-use-after-free in gst_debug_print_object() spotted by Asan
@bellet
Submitted by Fabrice Bellet Link to original bug (#782648)
Description
Created attachment 351856
heap-use-after-free in gstvalue.c
Hi,
Asan found a couple of use after free cases when we print an object name, mainly when debugging level is high enough. There's a possibility that the name is read after the old pointer is freed and before the new one is assigned in gst_object_set_name().
Attachment 351856, "heap-use-after-free in gstvalue.c":
empathy-call.asan.log.2