[PATCH] connection: fixing cmsg buffer overflow
Mathias.Fiedler at xse.de
Fri Oct 7 01:47:07 PDT 2011
the attachment is a patch for fixing a possible overflow of the local cmsg buffer in wl_connection_data.
This error might happen when the number of pending file descriptors to be send exceeds 32.
The condition i added in wl_connection_write for flushing the buffer is a bit too restrict, it just checks if new buffer data would exceed the space for file descriptors.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1799 bytes
More information about the wayland-devel