Skip to content

[24.0.0] Fix tables holding their registered types#11107

Merged
alexcrichton merged 1 commit into
bytecodealliance:release-24.0.0from
alexcrichton:back24
Jun 24, 2025
Merged

[24.0.0] Fix tables holding their registered types#11107
alexcrichton merged 1 commit into
bytecodealliance:release-24.0.0from
alexcrichton:back24

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This is a backport of #11103 to the 24.0.0 release branch

This commit fixes an issue where host-created tables with concrete
reference types previously did not keep their associated type
registrations alive for the duration of the table itself. This could
lead to runtime panics when reflecting on their type and additionally
lead to some type confusion about the table itself.  As described
in bytecodealliance#11102 this is not a security issue, just a bug that needs fixing.

Closes bytecodealliance#11102
@alexcrichton alexcrichton requested a review from a team as a code owner June 23, 2025 16:17
@alexcrichton alexcrichton requested review from dicej and removed request for a team June 23, 2025 16:17
@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Jun 23, 2025
@alexcrichton alexcrichton merged commit 35e2c88 into bytecodealliance:release-24.0.0 Jun 24, 2025
124 checks passed
@alexcrichton alexcrichton deleted the back24 branch June 24, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants