[Bug 192109] recvmsg fails to receive socket FD and subsequent functions on that FD fails with EBADF error.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 26 00:32:47 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192109

--- Comment #2 from Mateusz Guzik <mjg at FreeBSD.org> ---
Your code is incorrect and works on i386 only by chance.

It should use CMSG_ macros to fil up data.

I modified your reproducer to use it in a least-resistant way and everything
seems to be working fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list