Skip to content

Fix aio_suspend in non-trivial cases #2019

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

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Conversation

asomers
Copy link
Member

@asomers asomers commented Apr 3, 2023

aio_suspend would probably fail with EFAULT if the first operation in the list wasn't complete, due to an invalid pointer cast.

Also, deprecate lio_listio, which has the same problem, and others besides.

Fixes #1980

aio_suspend would probably fail with EFAULT if the first operation in
the list wasn't complete, due to an invalid pointer cast.

Also, deprecate lio_listio, which has the same problem, and others
besides.

Fixes nix-rust#1980
@asomers asomers requested a review from rtzoeller April 3, 2023 23:31
@asomers
Copy link
Member Author

asomers commented Aug 6, 2023

bors r+

@bors bors bot merged commit ea14981 into nix-rust:master Aug 6, 2023
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.

aio_suspend passes invalid pointers to libc
1 participant