HomeFreeBSD

MFC r340674:

Description

MFC r340674:

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

Details

Provenance
tijlAuthored on
Parents
rS340757: MFC r340674:
Branches
Unknown
Tags
Unknown