Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up msg->out.iov in error cases #777

Open
w-henderson opened this issue Aug 31, 2023 · 0 comments
Open

clean up msg->out.iov in error cases #777

w-henderson opened this issue Aug 31, 2023 · 0 comments

Comments

@w-henderson
Copy link
Contributor

There are a number of cases where iov_base and iov_len are not cleaned up correctly in error cases, for example leaving a meaningless buffer to be returned, or having iov_base be NULL but iov_len set. This can be cleaned up with iov_free() which will be introduced as part of #746.

See #746 (comment) for discussion and more details.

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

No branches or pull requests

1 participant