GNOME Bugzilla – Bug 791059
gstbasesrc: add protection for some miscellaneous 'create' method, otherwise coredump in gst_base_src_do_sync.
Last modified: 2017-12-06 08:36:23 UTC
gstbasesrc: add protection for some miscellaneous 'create' method, otherwise coredump in gst_base_src_do_sync. if 'create' method return GST_FLOW_OK but with NULL gstbuffer, coredump in gst_base_src_do_sync. an example backtrace as below (gdb)bt
+ Trace 238209
add protection for robustness
Created attachment 364719 [details] [review] add protection for robustness
It seems better to fix on 2533 line. if (G_UNLIKELY (ret != GST_FLOW_OK || res_buf == NULL)) goto not_ok;
aha, that is better. Thanks for your review. I will provide a new patch.
Created attachment 364723 [details] [review] add protection for robustness
This will get removed again with bug #750241 for what it's worth, so I'd rather not land it in the first place :)
yes, Tim, it will be fixed in bug #750241
Then let's close this and get the other patch finished. *** This bug has been marked as a duplicate of bug 750241 ***