[PATCH] wayland: crash if fd sent with zero byte message
spitzak at gmail.com
Sun Mar 18 18:10:52 PDT 2012
connection.c sent a 4096 byte block of garbage if it wanted to send an
fd and there happened to be zero data to send as well. This is the first
diff in the patch.
This patch also makes it retry on EAGAIN, although I suspect the normal,
rather than non-blocking, sockets should be used.
It also fixes some of the error message printfs to make arguments match
the format strings and to make them more consistent with each other.
Hope this can be put in asap!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wayland-devel