[Bug 794155] New: v4l2: v4l2object: fix mmap on 32 bit systems

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 7 15:43:38 UTC 2018


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

            Bug ID: 794155
           Summary: v4l2: v4l2object: fix mmap on 32 bit systems
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m.tretter at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 369408
  --> https://bugzilla.gnome.org/attachment.cgi?id=369408&action=edit
0001-v4l2-v4l2object-fix-mmap-on-32-bit-systems.patch

The declaration of the function pointer to mmap in V4l2Object uses gint64
instead of off_t for the last argument. However, off_t is 32 bit on 32 bit
systems and mmap fails with -EINVAL on such systems.

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