Skip to content

packetdrill: allow NULL iov_base in writev/sendmsg - #105

Open
quanyeyang wants to merge 1 commit into
google:masterfrom
quanyeyang:writev-null-iov
Open

quanyeyang wants to merge 1 commit into
google:masterfrom
quanyeyang:writev-null-iov

Conversation

@quanyeyang

Copy link
Copy Markdown

Scripts could only write {..., len}. That cannot exercise a copy fault on a later iovec, because ... is always a mapped buffer.

Accept {NULL, len} and pass iov_base=NULL to the syscall.

Inspired by multipath-tcp#211

Scripts could only write {..., len}. That cannot exercise a
copy fault on a later iovec, because ... is always a mapped
buffer.

Accept {NULL, len} and pass iov_base=NULL to the syscall.

Signed-off-by: quanyeyang <[email protected]>
@google-cla

google-cla Bot commented Oct 24, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@quanyeyang

quanyeyang commented Oct 24, 2026 •

Copy link
Copy Markdown
Author

I have signed the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant