[Bug 730559] dmabuf: fix checking mmap flags
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jun 4 07:02:21 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=730559
GStreamer | gst-plugins-base | git
Nicolas Dufresne <nicolas.dufresne> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #276970|none |committed
status| |
--- Comment #2 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-06-04 14:02:19 UTC ---
(From update of attachment 276970)
commit 42623c995e97a4eda3ca641b37584a4f66f9e095
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date: Tue May 20 12:28:15 2014 +0200
dmabuf: fix checking mmap flags
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.
https://bugzilla.gnome.org/show_bug.cgi?id=730559
--
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