bytecodealliance / bytecodealliance/system-interface

Is passing an invalid pointer to recv sound?

オープン
#50 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
54
フォーク
19
PR マージ指標
30日以内にマージされた PR はありません

説明

https://github.com/bytecodealliance/system-interface/blob/8ee8c825df4c183f06d48ec5d10556a5bf11655b/src/io/is_read_write.rs#L141-L152

https://learn.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-recv doesn't say anything about this, this seems sketchy.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Read src/io/is_read_write.rs at lines 141-152 and compare the pointer handling with the linked Windows recv contract. Determine whether passing an invalid pointer is sound for this interface, then identify the expected behavior or documentation needed to resolve the concern; the issue does not name a test or a specific fix.

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

評価

技術スタック
rust
領域
operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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