Date: Tue, 26 Mar 2019 08:13:42 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236737] recvmsg() under COMPAT_FREEBSD32 returns the wrong msg_controllen value Message-ID: <bug-236737-227-3gqFkPhpc5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236737-227@https.bugs.freebsd.org/bugzilla/> References: <bug-236737-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236737 --- Comment #2 from Jason A. Harmening <jah@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 align= ment when calculating controllen for the output header. I think the fix may be = very simple; the attached patch worked for me. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236737-227-3gqFkPhpc5>