Stream: git-wasmtime

Topic: wasmtime / PR #13086 cm-async: Cap read/write sizes on st...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 23:23):

alexcrichton opened PR #13086 from alexcrichton:cap-sizes to bytecodealliance:main:

The spec mandates that stream operations cannot exceed 2**28 elements, but Wasmtime previously did not check for this limit. This meant that the guest could get silently corrupt answers when trying to operate on this many elements. This commit adds a new ItemCount newtype wrapper which is intended to be proof of an in-bounds count and then that's plumbed everywhere internally.

Closes #13023

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 23:23):

alexcrichton requested cfallin for a review on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 23:23):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 23:23):

alexcrichton requested dicej for a review on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 23:23):

alexcrichton unassigned cfallin from PR #13086 cm-async: Cap read/write sizes on streams.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 01:10):

github-actions[bot] added the label wasmtime:api on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 01:10):

github-actions[bot] added the label wasmtime:c-api on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 13:34):

dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 14:28):

alexcrichton updated PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:10):

alexcrichton updated PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:10):

alexcrichton requested uweigand for a review on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:10):

alexcrichton requested wasmtime-default-reviewers for a review on PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:10):

alexcrichton has enabled auto merge for PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:26):

alexcrichton added PR #13086 cm-async: Cap read/write sizes on streams to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:51):

alexcrichton merged PR #13086.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2026 at 19:51):

alexcrichton removed PR #13086 cm-async: Cap read/write sizes on streams from the merge queue.


Last updated: May 03 2026 at 22:13 UTC