[Wayland-bugs] [Bug 91945] Protocol documentation should indicate when wl_data_offer::receive requests should be sent

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 9 13:46:31 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91945

--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
It's important to also consider some limit on the number of simultaneous data
requests. I previously discovered a file descriptor denial of service against
GTK+ by calling wl_data_offer::receive thousands of times in a loop in response
to receiving wl_data_device::drag_enter. Nowadays GTK+ is careful to allow only
one request at a time, avoiding this issue, but it's not clear from the
documentation if this is appropriate or not, as other clients may reasonably
expect to be able to call wl_data_offer::receive multiple times in a row.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150909/bd900c49/attachment.html>


More information about the wayland-bugs mailing list