[Bug 730559] New: dmabuf: fix checking mmap flags

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 22 02:03:36 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730559
  GStreamer | gst-plugins-base | git

           Summary: dmabuf: fix checking mmap flags
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: m.olbrich at pengutronix.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=276970)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=276970)
patch

A simple '&' is not sufficiant. With mmapping_flags == PROT_READ and
prot == PROT_READ|PROT_WRITE the check produces the wrong result.
Change the check to make sure that prot is a subset of mmapping_flags.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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