Stream: git-wasmtime

Topic: wasmtime / PR #11564 Exceptions: global.get from external...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:06):

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:

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 (Aug 28 2025 at 23:06):

cfallin requested wasmtime-core-reviewers for a review on PR #11564.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:06):

cfallin requested alexcrichton for a review on PR #11564.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:11):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:15):

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:

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 (Aug 28 2025 at 23:15):

cfallin has enabled auto merge for PR #11564.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:36):

cfallin updated PR #11564.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:36):

cfallin has enabled auto merge for PR #11564.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2025 at 23:36):

cfallin commented on PR #11564:

Added test from here as this also fixes #11563.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 29 2025 at 03:21):

alexcrichton merged PR #11564.


Last updated: Dec 06 2025 at 07:03 UTC