[Bug 788838] New: [Fix for]Possible crash due to dereferencing a null pointer in gst_queue_array_is_empty

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 11 16:37:18 UTC 2017


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

            Bug ID: 788838
           Summary: [Fix for]Possible crash due to dereferencing a null
                    pointer in gst_queue_array_is_empty
    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 : gboolean gst_queue_array_is_empty (GstQueueArray * array)
Line No. 320

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

 gboolean
gst_queue_array_is_empty (GstQueueArray * array)
{
  return (array->length == 0);
}

----------------
Submitting patch with null pointer check.

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