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
|
2015-01-09 16:39:37 -08:00 |
|