Skip to content

wasmtime: fix params array getting out of scope. #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 2, 2022

Conversation

PiotrSikora
Copy link
Member

Broken in #217.

Signed-off-by: Piotr Sikora [email protected]

@PiotrSikora PiotrSikora changed the title wasmtime: fix for params array getting out of scope. wasmtime: fix params array getting out of scope. Mar 1, 2022
@PiotrSikora PiotrSikora marked this pull request as ready for review March 1, 2022 11:15
@PiotrSikora PiotrSikora requested a review from mathetake as a code owner March 1, 2022 11:15
@PiotrSikora
Copy link
Member Author

Found in #270 while changing the log level for host integration.

I've spent some time chasing this bug last week, because it broke tests under TSan, but it didn't manifest itself in a way that was easy to track, since without the trace-level integration logs, the first time an out-of-scope access was inside Wasmtime, which isn't instrumented.

@PiotrSikora PiotrSikora merged commit 41cb336 into proxy-wasm:master Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants