[Bug 764902] New: Explicitly initialize GstVideoCropMeta fields to 0 on init.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 11 15:28:15 UTC 2016


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

            Bug ID: 764902
           Summary: Explicitly initialize GstVideoCropMeta fields to 0 on
                    init.
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: arjen.veenhuizen at tno.nl
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 325733
  --> https://bugzilla.gnome.org/attachment.cgi?id=325733&action=edit
implicitly initialize gstvideocropmeta on init

When creating a GstVideoCropMeta metadata on a GstBuffer, its fields (x, y,
width, height) are not set to 0 creating the risk that e.g. xvimagesink tries
to access uninitialized values which could ultimately result in a segfaults.  

This patch adds an explicit meta_init function for GstVideoCropMeta.

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