When looking up environment variables, boost process assumes the keys are of equal size
オープン
- 主要言語
- C++
- スター
- 145
- フォーク
- 151
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This causes a heap-buffer-overflow detected by ASAN
https://godbolt.org/z/Eno9r737M
https://github.com/boostorg/process/blob/develop/include/boost/process/environment.hpp#L263-L269
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with include/boost/process/environment.hpp around lines 263-269 and reproduce the heap-buffer-overflow using the linked Godbolt ASAN example. Trace the environment-variable lookup with keys of unequal sizes. Done means the lookup no longer triggers the reported overflow under ASAN.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100