alexcrichton removed the review request for wasmtime-core-reviewers from PR #15209.
alexcrichton requested wasmtime-core-reviewers for a review on PR #15209.
alexcrichton opened PR #15209 from alexcrichton:validate-memory-reservation to bytecodealliance:main:
This commit fixes some possible
unwrap()s with the newMemoryRequesttype where some values were coerced fromu64tousizein a way that could panic. This commit moves validation intoConfigto make these conversions always work and seems like a reasonable place to get an error anyway.<!--
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 dicej for a review on PR #15209.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #15209 Validate reservation size in Config to the merge queue
:check: alexcrichton merged PR #15209.
alexcrichton removed PR #15209 Validate reservation size in Config from the merge queue
Last updated: Nov 19 2026 at 20:05 UTC