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

[v23.3.x] wasm: fix host function arg translation #18235

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18225

rockwotj added 2 commits May 3, 2024 01:15
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 v23.3.x-next milestone May 3, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label May 3, 2024
@vbotbuildovich vbotbuildovich requested a review from rockwotj May 3, 2024 01:15
@rockwotj rockwotj merged commit 2e1f5d1 into redpanda-data:v23.3.x May 3, 2024
14 of 17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.16 May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants