Stream: git-wasmtime

Topic: wasmtime / PR #12976 Further refine behavior of large 1-b...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 20:20):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 20:20):

alexcrichton requested fitzgen for a review on PR #12976.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 20:20):

alexcrichton opened PR #12976 from alexcrichton:further-tweak-custom-page-sizes to bytecodealliance:main:

This commit adjust the behavior of #12884 to return -1 from memory.grow instead of trapping when the growth would exceed the maximal allowable size of memory. This fixes a fuzz-bug which had an unexpected trap and upon further reflection this feels more accurate for what custom-page-sizes can do. With a 1-byte-page memories can grow to 4GiB-2 because that means that -1 always means "growth failed".

<!--
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 06 2026 at 20:21):

alexcrichton added the label fuzz-bug on PR #12976.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 21:54):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 21:54):

fitzgen added PR #12976 Further refine behavior of large 1-byte-page memories to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 22:21):

fitzgen merged PR #12976.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 06 2026 at 22:21):

fitzgen removed PR #12976 Further refine behavior of large 1-byte-page memories from the merge queue.


Last updated: Apr 12 2026 at 23:10 UTC