libgit2 / libgit2/libgit2sharp
Ensure any passed in string doesn't contains the `\0` character
オープン
まだ誰も着手していません。
Easy fix
Up for grabs
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Following discussion with @ethomson in https://github.com/libgit2/libgit2sharp/pull/530#issuecomment-26069471 , some methods are now protected against the evil zero character (cf . https://github.com/libgit2/libgit2sharp/commit/28d1820f0d45f5d75e5a9f08e009898430b21561, for instance).
It would make sense to also protect every remaining string in the API that is eventually passed to libgit2.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、pull request #530 と commit 28d1820f0d45f5d75e5a9f08e009898430b21561 で説明されている保護を確認し、その後、libgit2 に渡される残りの API 文字列を監査します。対象となる渡されたすべての文字列が \0 文字から保護されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, git
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100