alexcrichton opened PR #12878 from alexcrichton:bytes-stream-producer to bytecodealliance:main:
This commit fixes the logic of these
impls to match theVec-style blocks to relinquish the entire buffer to Wasmtime immediately. This fixes an issue wheresplit_offis called with too large a value which can panic.<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #12878.
alexcrichton requested wasmtime-core-reviewers for a review on PR #12878.
alexcrichton requested wasmtime-default-reviewers for a review on PR #12878.
github-actions[bot] added the label wasmtime:api on PR #12878.
dicej submitted PR review.
alexcrichton added PR #12878 Fix a panic in Bytes{,Mut} StreamProducer impls to the merge queue.
alexcrichton merged PR #12878.
alexcrichton removed PR #12878 Fix a panic in Bytes{,Mut} StreamProducer impls from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC