<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Protocol documentation should indicate when wl_data_offer::receive requests should be sent"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91945#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Protocol documentation should indicate when wl_data_offer::receive requests should be sent"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91945">bug 91945</a>
from <span class="vcard"><a class="email" href="mailto:mcatanzaro@gnome.org" title="Michael Catanzaro <mcatanzaro@gnome.org>"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>