Skip to content
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

fix(wasm): disable jit for set_host_properties_handlers() #13227

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

flrgh
Copy link
Contributor

@flrgh flrgh commented Jun 18, 2024

This function can trigger a segfault if it is jit-compiled due to the semantics of making an FFI call to a C land function which in turn calls back into a Lua land function.

Fixes a condition introduced in #13222.

No changelog entry required--the bug fixed by this change has not been released anywhere.

KAG-4671

This can trigger a segfault if it is jit-compiled due to the semantics
of making an FFI call to a C land function which in turn calls back into
a Lua land function.
@github-actions github-actions bot added core/proxy cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/wasm Everything relevant to [proxy-]wasm labels Jun 18, 2024
@flrgh flrgh requested review from brentos and locao June 18, 2024 22:40
@flrgh flrgh removed the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Jun 18, 2024
@bungle bungle merged commit 12d5eab into master Jun 19, 2024
40 checks passed
@bungle bungle deleted the fix/wasm-disable-jit branch June 19, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core/proxy core/wasm Everything relevant to [proxy-]wasm size/XS skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants