[Bug 788838] GstQueueArray: add function guards to avoid NULL queue pointer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 13 15:31:10 UTC 2017


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #361505|none                        |needs-work
             status|                            |

--- Comment #9 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 361505:
 --> (https://bugzilla.gnome.org/review?bug=788838&attachment=361505)

::: gstreamer-1.12.3/libs/gst/base/gstqueuearray.c
@@ +220,3 @@
 gst_queue_array_do_expand (GstQueueArray * array)
 {
+  g_return_if_fail (array != NULL);

This is an internal function. Only add these guards to public functions

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