-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasm: fix async host functions that pass in bad parameters
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>
- Loading branch information
Showing
1 changed file
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters