[Wayland-bugs] [Bug 751414] File descriptor leak in gdk_wayland_selection_request_target()

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 24 13:18:36 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751414

--- Comment #17 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 306048
  --> https://bugzilla.gnome.org/attachment.cgi?id=306048&action=edit
wayland: close() the selection fd if we didn't start writing yet

If the other peer requests data too fast (too rare/unlikely though),
we might receive multiple gdk_wayland_selection_request_target() calls
with no ending gdk_wayland_selection_check_write(), in which case the
fd is leaked as no GOutputStream was created to take over it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150624/9d0637dd/attachment-0001.html>


More information about the wayland-bugs mailing list