HomeFreeBSD

MFS r340757:

Description

MFS r340757:

Fix another user address dereference in linux_sendmsg syscall.

This was hidden behind the LINUX_CMSG_NXTHDR macro which dereferences its
second argument. Stop using the macro as well as LINUX_CMSG_FIRSTHDR. Use
the size field of the kernel copy of the control message header to obtain
the next control message.

PR: 217901
Approved by: re (marius)

Details

Provenance
tijlAuthored on
Parents
rS340761: MFS r340755:
Branches
Unknown
Tags
Unknown