heap-use-after-free in gst_debug_print_object() spotted by Asan
Submitted by Fabrice Bellet
Created attachment 351856
heap-use-after-free in gstvalue.c
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":