dhil opened PR #14447 from dhil:stack-switching-regression-test to bytecodealliance:main:
As I started working on issue #13298, I realised that it has already been fixed by one of the previous stack switching PRs. Thus, this patch simply adds the PoC from the issue as a regression test.
Resolves #13298.
I think this is the last of the known issues regarding VM state corruption due to stack switching. I will look into the missing stack bounds checking / defense-in-depth checking issues next.
dhil requested cfallin for a review on PR #14447.
dhil requested wasmtime-core-reviewers for a review on PR #14447.
dhil updated PR #14447.
:thumbs_up: cfallin submitted PR review:
:+1:
cfallin added PR #14447 [stack-switching] Regression test to the merge queue.
github-merge-queue[bot] removed PR #14447 [stack-switching] Regression test from the merge queue.
alexcrichton added PR #14447 [stack-switching] Regression test to the merge queue.
:check: alexcrichton merged PR #14447.
alexcrichton removed PR #14447 [stack-switching] Regression test from the merge queue.
Last updated: Oct 11 2026 at 02:20 UTC