[Bug 788928] New: Gstreamer: Fix for possible crash due to null pointer dereferencing in public GstQueueArray API:gst_queue_array_pop_head_struct

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


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

            Bug ID: 788928
           Summary: Gstreamer: Fix for possible crash due to null pointer
                    dereferencing in public GstQueueArray
                    API:gst_queue_array_pop_head_struct
    Classification: Platform
           Product: GStreamer
           Version: 1.12.3
                OS: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kr.ashish at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In 
File : gstqueuearray.c
Function : gpointer gst_queue_array_pop_head_struct (GstQueueArray * array))
Line No. 129

There is a possibility of crash if array is null, due to dereferencing of null
pointer.

gpointer
gst_queue_array_pop_head_struct (GstQueueArray * array)
{
  gpointer p_struct;

  /* empty array */
  if (G_UNLIKELY (array->length == 0))
    return NULL;

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