alexcrichton opened PR #14736 from alexcrichton:assert-to-ensure to bytecodealliance:main:
If an earlier error leaves the store in an inconsistent state such that
suspend_reasonis unexpectedSome(_), return an error instead of panicking.Future improvement: check for a poisoned store at all public API entrypoints so that we can catch this type of thing earlier and more consistently.
part of https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hmwq-g22x-qjw5
alexcrichton requested wasmtime-core-reviewers for a review on PR #14736.
alexcrichton requested cfallin for a review on PR #14736.
alexcrichton updated PR #14736.
alexcrichton updated PR #14736.
:thumbs_up: rvolosatovs submitted PR review.
alexcrichton updated PR #14736.
alexcrichton has enabled auto merge for PR #14736.
alexcrichton added PR #14736 change assert! to ensure! to avoid panic when suspending to the merge queue.
:check: alexcrichton merged PR #14736.
alexcrichton removed PR #14736 change assert! to ensure! to avoid panic when suspending from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC