hyperlight-dev / hyperlight-dev/hyperlight

Memory leak in C guests

オープン
#1,798 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
lifecycle/needs-review
主要言語
Rust
スター
4.7k
フォーク
208
平均マージ
1日 7時間
マージ済み PR(30日)
47

説明

I think copilot comments about leaks are technically correct, although they are not introduced by this PR. This code has been moved so they appear as added. I would prefer fixing it in a separate PR: expose paired `dealloc` function so that c users don't use `free()` for rust allocated content.

_Originally posted by @andreiltd in https://github.com/hyperlight-dev/hyperlight/issues/1792#issuecomment-5542202312_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue identifies the C guest interface and Rust-allocated content as the starting area, but names no files or tests. Trace where C callers currently use free() and where the corresponding Rust allocation is exposed; done means a paired dealloc function is available to C users and its behavior is covered by tests.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c, rust
領域
operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。