mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +00:00
Marek Chalupa
b6d070b06f
wayland: Seal SHM buffers before access
If wayland client lies about size of given buffer, compositor could touch bad memory and get SIGBUS. Wayland provides simple API to fix it - so fix it! [1] http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-server.h#n416 [2] http://lists.freedesktop.org/archives/wayland-devel/2013-November/012159.html Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=727893
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%