[Bug 236737] recvmsg() under COMPAT_FREEBSD32 returns the wrong msg_controllen value

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 26 08:13:45 UTC 2019


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

--- Comment #2 from Jason A. Harmening <jah at FreeBSD.org> ---
It looks like the 32-bit kernel compat shim for recvmsg() isn't correctly
padding the data size for each control message to the required 4-byte alignment
when calculating controllen for the output header.  I think the fix may be very
simple; the attached patch worked for me.

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


More information about the freebsd-bugs mailing list