alexcrichton opened PR #14731 from alexcrichton:fix-tag-layout to bytecodealliance:main:
VMTagDefinitions are just u32 type indices, so the funcrefs can otherwise become unaligned if there are an odd number of tags.
<!--
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 #14731.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14731.
alexcrichton edited PR #14731:
VMTagDefinitions are just u32 type indices, so the funcrefs can otherwise become unaligned if there are an odd number of tags.
Part of https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-p79w-pv2r-29qp
<!--
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
-->
:thumbs_up: cfallin submitted PR review.
cfallin has enabled auto merge for PR #14731.
cfallin added PR #14731 Fix alignment of VMFuncRefs in VMContext after an odd number of tags. to the merge queue
:check: cfallin merged PR #14731.
cfallin removed PR #14731 Fix alignment of VMFuncRefs in VMContext after an odd number of tags. from the merge queue
Last updated: Oct 31 2026 at 23:03 UTC