hyperlight-dev / hyperlight-dev/hyperlight

`impl Drop` for host resources in the guest

Open
#810 1 comment 0 reactions 1 assignee Claimed by @syntactically View on GitHub
lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
47

Description

The types that hold host resource handles in the guest don't currently have an appropriate `impl Drop`, so they can be leaked if ownership is not passed back to the host by another host or guest call. We should make sure that when a resource handle to a host resource is dropped in the guest, a hostcall is made to drop it in the host.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.