Skip to content
Commit 0b399b8d authored by David Herrmann's avatar David Herrmann Committed by Kristian Høgsberg
Browse files

connection: fix buffer-overflow in build_cmsg()



Same problem as we had with close_fds(). We cannot rely on the fds_out
buffer being filled with less than MAX_FDS_OUT file descriptors.
Therefore, write at most MAX_FDS_OUT file-descriptors to the outgoing
buffer.

Signed-off-by: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
parent 5bae0650
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment