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

Fixed WASI fd_read syscall when reading multiple iovs and read is partial (for #2904) #3045

Merged
merged 3 commits into from
Jul 27, 2022

Conversation

ptitSeb
Copy link
Contributor

@ptitSeb ptitSeb commented Jul 27, 2022

Description

Fixed an issue with WASI fd_read: when reading on multiple iovs, if a read is partial (so not all the wanted bytes are read), the function would still continue to try reading on subsequent iov (eventualy reading more bytes but not in the right place).

@ptitSeb
Copy link
Contributor Author

ptitSeb commented Jul 27, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 27, 2022

Build succeeded:

@bors bors bot merged commit a1e82a5 into master Jul 27, 2022
@bors bors bot deleted the fix_wasi_read_multi_iov branch July 27, 2022 16:58
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