Skip to content

Fix the issue of incorrectly freeing the stack address when unwinding local functions. - #436

Merged
vshymanskyy merged 1 commit into
wasm3:mainfrom
dianqk:main
Dec 18, 2023
Merged

vshymanskyy merged 1 commit into
wasm3:mainfrom
dianqk:main

Conversation

@dianqk

@dianqk dianqk commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

The statement runtime->stack = stack_backup; during local function unwinding may not be executed.
This ultimately leads to using the wrong address when freeing the stack.

@vshymanskyy
vshymanskyy merged commit c5fe088 into wasm3:main Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants