PyStructSequence_New() doesn't validate its input type (crashes in os.wait3() and os.wait4() in case of a bad resource.struct_rusage)
オープン
まだ誰も着手していません。
3.10
3.11
3.9 (EOL)
extension-modules
type-crash
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 31573 |
|---|---|
| Nosy | @vstinner, @serhiy-storchaka, @orenmn, @iritkatriel |
| PRs |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2017-09-25.10:29:33.947>
labels = ['extension-modules', '3.10', '3.9', 'type-crash', '3.11']
title = "PyStructSequence_New() doesn't validate its input type (crashes in os.wait3() and os.wait4() in case of a bad resource.struct_rusage)"
updated_at = <Date 2021-10-18.23:14:00.500>
user = 'https://github.com/orenmn'
bugs.python.org fields:
activity = <Date 2021-10-18.23:14:00.500>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2017-09-25.10:29:33.947>
creator = 'Oren Milman'
dependencies = []
files = []
hgrepos = []
issue_num = 31573
keywords = ['patch']
message_count = 3.0
messages = ['302945', '302958', '404243']
nosy_count = 4.0
nosy_names = ['vstinner', 'serhiy.storchaka', 'Oren Milman', 'iritkatriel']
pr_nums = ['3750']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue31573'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず PyStructSequence_New() と os.wait3() および os.wait4() のエントリポイントを特定し、既存のコンテキストと PR #3750 を確認してください。完了条件は、不正な形式の resource.struct_rusage によってこれらの呼び出しがクラッシュしなくなり、その動作が適切なリグレッションテストでカバーされていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100