alexcrichton opened PR #14181 from alexcrichton:limit-writes to bytecodealliance:main:
This commit adds limits to the amount of data buffered from a guest on the host when guests write to WASIp3 streams for files and http bodies. This ensures that the guest can't control how much is allocated on the host, for example, but rather it's limited to a fixed amount.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested rvolosatovs for a review on PR #14181.
alexcrichton requested wasmtime-wasi-reviewers for a review on PR #14181.
alexcrichton requested pchickey for a review on PR #14181.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14181.
:thumbs_up: pchickey submitted PR review.
alexcrichton updated PR #14181.
alexcrichton has enabled auto merge for PR #14181.
alexcrichton added PR #14181 Limit buffered writes in http/files to the merge queue.
:check: alexcrichton merged PR #14181.
alexcrichton removed PR #14181 Limit buffered writes in http/files from the merge queue.
Last updated: Aug 30 2026 at 09:07 UTC