[Bug 767645] New: Unallocated memory access in OpenGlSurfacePainter

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 14 12:02:41 UTC 2016


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

            Bug ID: 767645
           Summary: Unallocated memory access in OpenGlSurfacePainter
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: qt-gstreamer
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vandeglind.jeffrey at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 329776
  --> https://bugzilla.gnome.org/attachment.cgi?id=329776&action=edit
quick fix

The Qt application on our custom embedded platform (imx6, analogue camera input
- format I420) kept crashing about 50% of the time when no camera was attached.
After investigation I found that only 518400 was allocated, instead of the
622080 assumed. When the camera is connected, it does indeed allocate 622080.

As I am not an expert in hardware or GStreamer, I don't know if the error is in
the video driver or that indeed it is a bug that no size is given with the data
pointer.

See the patch for the solution that worked for us.

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