summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2012-03-09 12:51:42 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-03-10 16:01:46 -0500
commit73d4a53672c66fb2ad9576545a5aae3bad2483ed (patch)
tree9bbe3d01dc32f1b3f59c567a832f750a8ab1243e /TODO
parent46df9232faa5f2e154ad14b6b10ca2475dbbf83b (diff)
Flush the connection if we have to many marshaled fdsHEADmaster
The buffer used by wl_connection_data to receive a cmsg is 128 bytes long. This can hold at most 28 fds but when a cmsg is generated for sending the fds, there is no check for this limitation. The man page for recvmsg does not show any way of recovering from MSG_CTRUNC, that happens when the buffer supplied for cmsg is too short. Fix this by flushing the data to be written instead of generating a cmsg buffer longer than the maximum.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions