cfallin opened PR #11564 from cfallin:null-exnref-global-initializer to bytecodealliance:main:
Previously, the
Global::get()implementation lumped exnref types in with other anyrefs and wrapped the raw GC ref in an anyref type. This isn't appropriate for exnrefs as they are not anyrefs.Found via OSS-Fuzz.
Fixes #11561.
<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
cfallin requested wasmtime-core-reviewers for a review on PR #11564.
cfallin requested alexcrichton for a review on PR #11564.
alexcrichton submitted PR review.
cfallin edited PR #11564:
Previously, the
Global::get()implementation lumped exnref types in with other anyrefs and wrapped the raw GC ref in an anyref type. This isn't appropriate for exnrefs as they are not anyrefs.Found via OSS-Fuzz.
Fixes #11561.
Fixes #11563.<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
cfallin has enabled auto merge for PR #11564.
cfallin updated PR #11564.
cfallin has enabled auto merge for PR #11564.
cfallin commented on PR #11564:
Added test from here as this also fixes #11563.
alexcrichton merged PR #11564.
Last updated: Dec 06 2025 at 07:03 UTC