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

Use shared temporary buffer for WASI out values #2059

Merged
merged 1 commit into from
Sep 10, 2021
Merged

Use shared temporary buffer for WASI out values #2059

merged 1 commit into from
Sep 10, 2021

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Sep 10, 2021

This fixes an issue with wasi/seed where if all memory is optimized away there can be an OOB access at offset 0 (unlikely in real programs), while moving the previous shared iobuf up to become a general shared buffer for these kinds of tasks.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO merged commit fe06a2f into main Sep 10, 2021
@dcodeIO dcodeIO deleted the wasibuf branch September 14, 2021 12:21
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.

None yet

2 participants