alexcrichton opened PR #14739 from alexcrichton:clear-may-leave to bytecodealliance:main:
Clear the
may_leaveflag is some locations where it was required and
missing. Namely when lowering results from astreamorfutureread,
or returning the string fromerror-context.debug-message.This is done by moving the logic to clear the flag to within
LowerContext::reallocso that new builtins which result in lowerings
don't won't need to handle it.part of https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-7v24-42x9-pxf7
alexcrichton requested cfallin for a review on PR #14739.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14739.
github-actions[bot] added the label wasmtime:api on PR #14739.
:thumbs_up: cfallin submitted PR review.
cfallin added PR #14739 concurrent: Clear may_leave in missing places to the merge queue.
alexcrichton removed PR #14739 concurrent: Clear may_leave in missing places from the merge queue.
alexcrichton added PR #14739 concurrent: Clear may_leave in missing places to the merge queue.
:check: alexcrichton merged PR #14739.
alexcrichton removed PR #14739 concurrent: Clear may_leave in missing places from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC