FreeBSD Bugzilla – Attachment 203155 Details for
Bug 236737
recvmsg() under COMPAT_FREEBSD32 returns the wrong msg_controllen value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
patch_recvmsg (text/plain), 465 bytes, created by
Jason A. Harmening
on 2019-03-26 08:11:44 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Jason A. Harmening
Created:
2019-03-26 08:11:44 UTC
Size:
465 bytes
patch
obsolete
>Index: sys/compat/freebsd32/freebsd32_misc.c >=================================================================== >--- sys/compat/freebsd32/freebsd32_misc.c (revision 345238) >+++ sys/compat/freebsd32/freebsd32_misc.c (working copy) >@@ -1160,8 +1160,8 @@ > cm = NULL; > } > >- msg->msg_controllen += FREEBSD32_ALIGN(sizeof(*cm)) + >- datalen_out; >+ msg->msg_controllen += >+ FREEBSD32_CMSG_SPACE(datalen_out); > } > } > if (len == 0 && m != NULL) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236737
:
203071
| 203155