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

[v24.1.x] wasm: fix host function arg translation #18234

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18225

If a guest passes a bad buffer, we could throw in args translation and
that would cause a C++ exception to be risen into Rust over an FFI
boundary, which is bad (TM) and causes a process abort.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit 146adab)
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit f069ef9)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone May 3, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label May 3, 2024
@github-actions github-actions bot added area/redpanda area/wasm WASM Data Transforms labels May 3, 2024
@rockwotj rockwotj merged commit 701d629 into redpanda-data:v24.1.x May 3, 2024
15 of 18 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.1.x-next, v24.1.3 May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda area/wasm WASM Data Transforms kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants